This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/41784] [OOP] ICE in load_derived_extensions
- From: "janus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Oct 2009 09:31:55 -0000
- Subject: [Bug fortran/41784] [OOP] ICE in load_derived_extensions
- References: <bug-41784-9410@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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