http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47601
--- Comment #19 from janus at gcc dot gnu.org 2011-05-28 15:05:50 UTC --- (In reply to comment #18) > 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: Right. Some pieces were missing in your backtrace, here is a complete one: Program received signal SIGSEGV, Segmentation fault. 0x000000000055a828 in gfc_use_derived (sym=0x0) at /home/jweil/gcc47/trunk/gcc/fortran/symbol.c:1942 1942 if (sym->components != NULL || sym->attr.zero_comp) (gdb) bt #0 0x000000000055a828 in gfc_use_derived (sym=0x0) at /home/jweil/gcc47/trunk/gcc/fortran/symbol.c:1942 #1 0x000000000055aa1b in gfc_find_component (sym=0x0, name=0x7fffffffd530 "n_e", noaccess=0 '\000', silent=0 '\000') at /home/jweil/gcc47/trunk/gcc/fortran/symbol.c:2002 #2 0x000000000055aac4 in gfc_find_component (sym=0x1ae7fe0, name=0x7fffffffd530 "n_e", noaccess=0 '\000', silent=0 '\000') at /home/jweil/gcc47/trunk/gcc/fortran/symbol.c:2015 #3 0x000000000050d039 in mio_component_ref (cp=0x1aea0b8, sym=0x1ae7fe0) at /home/jweil/gcc47/trunk/gcc/fortran/module.c:2359