------- Additional Comments From bsdfan3 at users dot sourceforge dot net  
2004-12-28 01:59 -------
I finally figured out how to get a backtrace from the stage2 compiler, so here
it is (this is from running the posted testcase thru cc1):

--backtrace starts--
Starting program: /home/Lucas/b-gcc/gcc/cc1.exe /home/Lucas/test.i

Program received signal SIGSEGV, Segmentation fault.
0x00583da6 in emit_insn (x=0x101d19a0) at ../../gcc/gcc/emit-rtl.c:4375
4375      rtx last = last_insn;
(gdb) bt
#0  0x00583da6 in emit_insn (x=0x101d19a0) at ../../gcc/gcc/emit-rtl.c:4375
#1  0x00646f9c in ix86_handle_cdecl_attribute (node=0x22e614,
    name=0x101d7a48, args=0x0, flags=0, no_add_attrs=0x22e61b "")
    at ../../gcc/gcc/config/i386/i386.c:1716
#2  0x0040965f in decl_attributes (node=0x22e6f0, attributes=0x101da870,
    flags=0) at ../../gcc/gcc/attribs.c:253
#3  0x00405d9e in yyparse () at c-parse.y:1723
#4  0x004087c2 in c_parse_file () at c-parse.y:2922
#5  0x0047bf62 in c_common_parse_file (set_yydebug=0)
    at ../../gcc/gcc/c-opts.c:1092
#6  0x0049ec9b in compile_file () at ../../gcc/gcc/toplev.c:992
#7  0x004a079e in do_compile () at ../../gcc/gcc/toplev.c:2085
#8  0x004a0801 in toplev_main (argc=2, argv=0x10100f08)
    at ../../gcc/gcc/toplev.c:2117
#9  0x004972e0 in main (argc=2, argv=0x10100f08) at ../../gcc/gcc/main.c:35
--backtrace ends--

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19171

Reply via email to