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 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.


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