This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/12161] ICE during bootstrap, locale-inst.c, cp/call.c: 4571


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 mec at shout dot net  2003-09-04 19:23 -------
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
#6  0x0805465b in build_over_call (cand=0x41709050, flags=3)
    at /berman/fsf/_today_/source/gcc/HEAD/gcc/gcc/cp/call.c:4567
#7  0x0805661d in build_new_method_call (instance=0x417058d4, fns=0x0,
    args=0x0, conversion_path=0x40f4b280, flags=3)
    at /berman/fsf/_today_/source/gcc/HEAD/gcc/gcc/cp/call.c:5071
#8  0x080a71bd in tsubst_copy_and_build (t=0x40f2cb58, args=0x40f4dde0,
    complain=3, in_decl=0x40f333cc, function_p=false)
    at /berman/fsf/_today_/source/gcc/HEAD/gcc/gcc/cp/pt.c:8142
#9  0x080a4d44 in tsubst_expr (t=0x40f2cb58, args=0x40f4dde0, complain=3,
    in_decl=0x40f333cc)
    at /berman/fsf/_today_/source/gcc/HEAD/gcc/gcc/cp/pt.c:7498
#10 0x080a425b in tsubst_expr (t=0x40f3cab4, args=0x40f4dde0, complain=3,
    in_decl=0x40f333cc)
    at /berman/fsf/_today_/source/gcc/HEAD/gcc/gcc/cp/pt.c:7511
#11 0x080a39bc in tsubst_expr (t=0x40f3ca8c, args=0x40f4dde0, complain=3,
    in_decl=0x40f333cc)
    at /berman/fsf/_today_/source/gcc/HEAD/gcc/gcc/cp/pt.c:7679
#12 0x080a39bc in tsubst_expr (t=0x40f3ca78, args=0x40f4dde0, complain=3,
    in_decl=0x40f333cc)
    at /berman/fsf/_today_/source/gcc/HEAD/gcc/gcc/cp/pt.c:7679
#13 0x080b0adb in instantiate_decl (d=0x40f51a8c, defer_ok=0)
    at /berman/fsf/_today_/source/gcc/HEAD/gcc/gcc/cp/pt.c:10946
#14 0x080b1440 in instantiate_pending_templates ()
    at /berman/fsf/_today_/source/gcc/HEAD/gcc/gcc/cp/pt.c:11031
#15 0x080d8eb5 in finish_file ()
    at /berman/fsf/_today_/source/gcc/HEAD/gcc/gcc/cp/decl2.c:2675
#16 0x0860a04a in compile_file ()
    at /berman/fsf/_today_/source/gcc/HEAD/gcc/gcc/toplev.c:1737
#17 0x0860e9ce in do_compile ()
    at /berman/fsf/_today_/source/gcc/HEAD/gcc/gcc/toplev.c:4412
#18 0x0860eac5 in toplev_main (argc=21954848, argv=0x1)
    at /berman/fsf/_today_/source/gcc/HEAD/gcc/gcc/toplev.c:4452
#19 0x0817923b in main (argc=21954848, argv=0x14f0120)
    at /berman/fsf/_today_/source/gcc/HEAD/gcc/gcc/main.c:35
#20 0x420158d4 in __libc_start_main () from /lib/i686/libc.so.6


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]