From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14401 invoked by alias); 20 Nov 2001 03:31:52 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 14350 invoked by uid 61); 20 Nov 2001 03:31:51 -0000 Date: Wed, 14 Nov 2001 11:12:00 -0000 Message-ID: <20011120033151.14349.qmail@sourceware.cygnus.com> To: gcc-bugs@gcc.gnu.org, gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, reichelt@igpm.rwth-aachen.de, rodrigc@gcc.gnu.org, serettov@hotmail.com From: rodrigc@gcc.gnu.org X-Mailer: gnatsweb 2.9.2 Subject: Re: c++/4897: ICE in gcc-3.0.2 during compilation of cyclone X-SW-Source: 2001-11/txt/msg00319.txt.bz2 List-Id: Synopsis: ICE in gcc-3.0.2 during compilation of cyclone State-Changed-From-To: open->analyzed State-Changed-By: rodrigc State-Changed-When: Mon Nov 19 19:31:50 2001 State-Changed-Why: Confirmed with gcc 3.0.2 and gcc 3.0 branch. Note: The problem does not occur if compiled with the C++ compiler. Also, under gcc 3.1, this problem does not seem to occur. If I run cc1plus under a debugger, the stack trace I get is: 0x080c3a80 in host_integerp (t=0x0, pos=0) at tree.c:3440 3440 return (TREE_CODE (t) == INTEGER_CST (gdb) where #0 0x080c3a80 in host_integerp (t=0x0, pos=0) at tree.c:3440 #1 0x08127a5e in store_constructor (exp=0x40192440, target=0x4019e840, align=32, cleared=0, size=0) at expr.c:4578 #2 0x081310a2 in expand_expr (exp=0x40192440, target=0x4019e840, tmode=BLKmode, modifier=EXPAND_NORMAL) at expr.c:6629 #3 0x08125eee in store_expr (exp=0x40192440, target=0x4019e840, want_value=0) at expr.c:4042 #4 0x08125692 in expand_assignment (to=0x4019aaf8, from=0x40192440, want_value=0, suggest_reg=0) at expr.c:3866 #5 0x0811367b in expand_decl_init (decl=0x4019aaf8) at stmt.c:3987 #6 0x08099bca in emit_local_var (decl=0x4019aaf8) at c-semantics.c:337 #7 0x08099e1f in genrtl_decl_stmt (t=0x4018fb90) at c-semantics.c:419 #8 0x0809b92c in expand_stmt (t=0x4018fb90) at c-semantics.c:820 #9 0x0809b63c in genrtl_compound_stmt (t=0x4018fa28) at c-semantics.c:739 #10 0x0809b98b in expand_stmt (t=0x4018fa28) at c-semantics.c:840 #11 0x0806caa9 in c_expand_body (fndecl=0x4019a4e0, nested_p=0) at c-decl.c:6758 #12 0x0806c818 in finish_function (nested=0) at c-decl.c:6697 #13 0x0804a63a in yyparse_1 () at /usr/lib/bison.simple:324 #14 0x08051c15 in yyparse () at c-lex.c:158 #15 0x080b1ea9 in compile_file (name=0x844ae9a "b.c") at toplev.c:2369 #16 0x080b6c9b in main (argc=2, argv=0xbffff774) at toplev.c:4990 #17 0x400402ae in __libc_start_main (main=0x80b63fe
, argc=2, ubp_av=0xbffff774, init=0x80491b8 <_init>, http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=4897&database=gcc