------- Comment #2 from rguenth at gcc dot gnu dot org 2006-09-13 11:41 ------- (gdb) run Starting program: /abuild/rguenther/gcc41-g/gcc/cc1plus -quiet t.ii
Program received signal SIGSEGV, Segmentation fault. 0x080f565b in instantiate_decl (d=0xb7d9cf00, defer_ok=0, expl_inst_class_mem_p=0 '\0') at /space/rguenther/src/svn/gcc-4_1-branch/gcc/cp/pt.c:11957 11957 spec_parm = TREE_CHAIN (spec_parm); both tmpl_parm and spec_parm are zero. (gdb) bt #0 0x080f565b in instantiate_decl (d=0xb7d9cf00, defer_ok=0, expl_inst_class_mem_p=0 '\0') at /space/rguenther/src/svn/gcc-4_1-branch/gcc/cp/pt.c:11957 #1 0x080f5e1a in instantiate_pending_templates (retries=0) at /space/rguenther/src/svn/gcc-4_1-branch/gcc/cp/pt.c:12065 #2 0x0813fa19 in cp_finish_file () at /space/rguenther/src/svn/gcc-4_1-branch/gcc/cp/decl2.c:2857 #3 0x08049d18 in finish_file () at /space/rguenther/src/svn/gcc-4_1-branch/gcc/cp/cp-lang.c:144 #4 0x0826bac4 in c_common_parse_file (set_yydebug=0) at /space/rguenther/src/svn/gcc-4_1-branch/gcc/c-opts.c:1144 #5 0x086d9d84 in compile_file () at /space/rguenther/src/svn/gcc-4_1-branch/gcc/toplev.c:991 #6 0x086db68f in do_compile () at /space/rguenther/src/svn/gcc-4_1-branch/gcc/toplev.c:1949 #7 0x086db6f1 in toplev_main (argc=3, argv=0xbf939b04) at /space/rguenther/src/svn/gcc-4_1-branch/gcc/toplev.c:1981 #8 0x0827e022 in main (argc=Cannot access memory at address 0x0 ) at /space/rguenther/src/svn/gcc-4_1-branch/gcc/main.c:35 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29054