[Bug fortran/47601] [OOP] Internal Error: mio_component_ref(): Component not found
dominiq at lps dot ens.fr
gcc-bugzilla@gcc.gnu.org
Sat May 28 14:43:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47601
--- Comment #18 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-05-28 14:27:18 UTC ---
With the patch in comment #17, the "mio_component_ref(): Component not found"
are gone, but compiling gyre_lanr.f90 in the original code gives a
segmentation fault:
[macbook] bug/pr47601% gfc -c gyre_lanr.f90
f951: internal compiler error: Segmentation fault
The backtrace is
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x00000000000000a8
gfc_use_derived (sym=0x0) at ../../work/gcc/fortran/symbol.c:1942
1942 if (sym->components != NULL || sym->attr.zero_comp)
(gdb) bt
#0 gfc_use_derived (sym=0x0) at ../../work/gcc/fortran/symbol.c:1942
#1 0x000000010009f007 in gfc_find_component (sym=<value temporarily
unavailable, due to optimizations>, name=0x7fff5fbfd220 "n_e", noaccess=0 '\0',
silent=0 '\0') at ../../work/gcc/fortran/symbol.c:2002
#2 0x0000000000000001 in ?? ()
More information about the Gcc-bugs
mailing list