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: "mec at shout dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Sep 2003 17:28:30 -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 mec at shout dot net 2003-09-04 17:28 -------
Note: this is still happening after rth's addition of push_ggc_context /
pup_ggc_context in optimize_function.
I rebuilt gcc with
--enable-checking=misc,tree,gc,rtl,rtlflag,fold,gcac
And the same ICE happens earlier during the bootstrap, in fstream-inst.cc. The
compiler still ICEs at the same point in the attachment z6.ii.
This feels like another garbage collection bug lurking in this patch:
2003-08-29 Richard Henderson <rth@redhat.com>
Jason Merrill <jason@redhat.com>
* cp-lang.c (LANG_HOOKS_RTL_EXPAND_START): New.
(LANG_HOOKS_RTL_EXPAND_STMT): New.
* cp-tree.h (cxx_expand_function_start): Declare.
* decl.c (start_function): Use allocate_struct_function.
Move stmts_are_full_exprs_p assertion from expand_body.
Do not free_after_parsing or free_after_compilation.
(cxx_push_function_context): Move code to set struct function
data from genrtl_start_function.
* optimize.c (optimize_function): Don't inc/dec function_depth.
* semantics.c (expand_body): Use tree_rest_of_compilation.
(cxx_expand_function_start): Rename from genrtl_start_function,
omit bits done by tree_rest_of_compilation.
(genrtl_finish_function): Remove.
(clear_decl_rtl): Move to ../tree-optimize.c.
Of course it could be anything, but that's what it feels like.