------- Comment #4 from janus at gcc dot gnu dot org 2009-10-22 09:31 ------- Here is an even smaller test case with just one module:
module m type :: A end type type, extends(A) :: B end type end module use m, only: A end Backtrace (same as in comment #2): #0 0x00007fb6d07bd6a0 in strcmp () from /lib/libc.so.6 #1 0x0000000000541a26 in gfc_find_symtree (st=0x1fc9330, name=0x0) at /home/jweil/gcc45/trunk/gcc/fortran/symbol.c:2326 #2 0x00000000004ffd9a in load_derived_extensions () at /home/jweil/gcc45/trunk/gcc/fortran/module.c:4011 #3 0x0000000000500a26 in read_module () at /home/jweil/gcc45/trunk/gcc/fortran/module.c:4450 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41784