c++/4897: ICE in gcc-3.0.2 during compilation of cyclone
rodrigc@gcc.gnu.org
rodrigc@gcc.gnu.org
Thu Nov 8 11:08:00 GMT 2001
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 <main>, argc=2,
ubp_av=0xbffff774, init=0x80491b8 <_init>,
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=4897&database=gcc
More information about the Gcc-bugs
mailing list