ALT Linux Bugzilla
– Attachment 1554 Details for
Bug 9826
gfortran compiller traps on internal compiler error
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
working patch
gcc41-pr27096.patch (text/plain), 684 bytes, created by
Andrey V Khavryuchenko
on 2006-08-04 16:49:48 MSD
(
hide
)
Description:
working patch
Filename:
MIME Type:
Creator:
Andrey V Khavryuchenko
Created:
2006-08-04 16:49:48 MSD
Size:
684 bytes
patch
obsolete
>--- gcc/fortran/trans-array.c.orig 2006-08-03 22:49:52 +0300 >+++ gcc/fortran/trans-array.c 2006-08-03 22:50:00 +0300 >@@ -4485,7 +4485,14 @@ > > /* Get the descriptor type. */ > type = TREE_TYPE (sym->backend_decl); >- gcc_assert (GFC_DESCRIPTOR_TYPE_P (type)); >+ if (!GFC_DESCRIPTOR_TYPE_P (type)) >+ { >+ /* If the backend_decl is not a descriptor, we must have a pointer >+ to one. */ >+ descriptor = build_fold_indirect_ref (sym->backend_decl); >+ type = TREE_TYPE (descriptor); >+ gcc_assert (GFC_DESCRIPTOR_TYPE_P (type)); >+ } > > /* NULLIFY the data pointer. */ > gfc_conv_descriptor_data_set (&fnblock, descriptor, null_pointer_node);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 9826
:
1551
| 1554