From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1830 invoked by alias); 22 Sep 2003 23:23:03 -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 1822 invoked by uid 48); 22 Sep 2003 23:23:03 -0000 Date: Tue, 23 Sep 2003 00:05:00 -0000 From: "tm at kloo dot net" To: gcc-bugs@gcc.gnu.org Message-ID: <20030922232258.12373.tm@kloo.net> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug other/12373] New: ICE when generating RTX on valid code X-Bugzilla-Reason: CC X-SW-Source: 2003-09/txt/msg01767.txt.bz2 List-Id: PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12373 Summary: ICE when generating RTX on valid code Product: gcc Version: 3.4 Status: UNCONFIRMED Severity: normal Priority: P2 Component: other AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tm at kloo dot net CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: i386-linux GCC host triplet: i386-linux GCC target triplet: sh-elf When quadrics.i from stress-1.17 is compiled with the options -O2 -m4, the following error occurs: Program received signal SIGSEGV, Segmentation fault. 0x0807ad35 in tagged_types_tu_compatible_p (t1=0x401deec4, t2=0x4016ce58, flags=0) at ../../gcc/gcc/c-typeck.c:674 (xxgdb) Here's a backtrace: (xxgdb) bt #0 0x0807ad35 in tagged_types_tu_compatible_p (t1=0x401deec4, t2=0x4016ce58, flags=0) at ../../gcc/gcc/c-typeck.c:674 #1 0x0807aa5a in comptypes (type1=0x401deec4, type2=0x4016ce58, flags=0) at ../../gcc/gcc/c-typeck.c:569 #2 0x0807b7f4 in type_lists_compatible_p (args1=0x401e4028, args2=0x401760a0, flags=0) at ../../gcc/gcc/c-typeck.c:896 #3 0x0807b64b in function_types_compatible_p (f1=0x401e31b0, f2=0x401a22f4, flags=0) at ../../gcc/gcc/c-typeck.c:855 #4 0x0807a787 in comptypes (type1=0x401e31b0, type2=0x401a22f4, flags=0) at ../../gcc/gcc/c-typeck.c:519 #5 0x08069d6c in duplicate_decls (newdecl=0x401e321c, olddecl=0x401a2360, different_binding_level=0, different_tu=0) at ../../gcc/gcc/c-decl.c:776 #6 0x0806ca4d in pushdecl (x=0x401e321c) at ../../gcc/gcc/c-decl.c:1687 #7 0x0806e6ce in start_decl (declarator=0x401dd1f8, declspecs=0x401e1eec, initialized=0, attributes=0x0) at ../../gcc/gcc/c-decl.c:2672 #8 0x0804cb70 in yyparse () at c-parse.y:1331 #9 0x0804fdeb in c_parse_file () at c-parse.y:3022 #10 0x080a5ad5 in c_common_parse_file (set_yydebug=0) at ../../gcc/gcc/c-opts.c:1214 #11 0x082d883a in compile_file () at ../../gcc/gcc/toplev.c:1789 #12 0x082dc8ab in do_compile () at ../../gcc/gcc/toplev.c:4479 #13 0x082dc932 in toplev_main (argc=4, argv=0xbffff934) at ../../gcc/gcc/toplev.c:4519 #14 0x4003ab5c in __libc_start_main (main=0x80bfa2c
, argc=4, ubp_av=0xbffff934, init=0x80494c4 <_init>, fini=0x83a99a0 <_fini>, rtld_fini=0x4000d634 <_dl_fini>, stack_end=0xbffff92c) at ../sysdeps/generic/libc-start.c:129 (xxgdb)