This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/12161] ICE during bootstrap, locale-inst.c, cp/call.c: 4571
- From: "geoffk at geoffk dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Sep 2003 22:44:26 -0000
- Subject: [Bug c++/12161] ICE during bootstrap, locale-inst.c, cp/call.c: 4571
- References: <20030903235056.12161.mec@shout.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12161
------- Additional Comments From geoffk at geoffk dot org 2003-09-04 22:44 -------
Subject: Re: ICE during bootstrap, locale-inst.c, cp/call.c: 4571
> Date: 4 Sep 2003 19:23:48 -0000
> From: "mec at shout dot net" <gcc-bugzilla@gcc.gnu.org>
> Here's a stack trace in ggc_collect. ggc_collect gets called about 2000 times
> because I turned on --enable-check=everything, but only one call makes it past
> the "if memory has not grown then just return" check at the beginning. So if
> it's a gc bug, it's probably in this call.
>
> #0 ggc_collect ()
> at /berman/fsf/_today_/source/gcc/HEAD/gcc/gcc/ggc-page.c:1750
> #1 0x0860cce7 in rest_of_compilation (decl=0x40f53870)
> at /berman/fsf/_today_/source/gcc/HEAD/gcc/gcc/toplev.c:3212
> #2 0x08671a5e in tree_rest_of_compilation (fndecl=0x40f53870)
> at /berman/fsf/_today_/source/gcc/HEAD/gcc/gcc/tree-optimize.c:173
> #3 0x0812f3b4 in expand_body (fn=0x40f53870)
> at /berman/fsf/_today_/source/gcc/HEAD/gcc/gcc/cp/semantics.c:2892
> #4 0x080b0b07 in instantiate_decl (d=0x40f53870, defer_ok=1089812592)
> at /berman/fsf/_today_/source/gcc/HEAD/gcc/gcc/cp/pt.c:10955
> #5 0x080dd236 in mark_used (decl=0x40f53870)
> at /berman/fsf/_today_/source/gcc/HEAD/gcc/gcc/cp/decl2.c:4229
This should be fixed by my recent patch. Please try it again...