From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11221 invoked by alias); 28 Dec 2004 01:59:35 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 10442 invoked by uid 48); 28 Dec 2004 01:59:31 -0000 Date: Tue, 28 Dec 2004 01:59:00 -0000 Message-ID: <20041228015931.10438.qmail@sourceware.org> From: "bsdfan3 at users dot sourceforge dot net" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20041227213015.19171.bsdfan3@users.sourceforge.net> References: <20041227213015.19171.bsdfan3@users.sourceforge.net> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug middle-end/19171] causes segfault ICE in GCC 4 X-Bugzilla-Reason: CC X-SW-Source: 2004-12/txt/msg03699.txt.bz2 List-Id: ------- 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