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 java/12354] java ICE during bootstrap


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12354



------- Additional Comments From cato at df dot lth dot se  2003-09-21 23:22 -------
Subject: Re:  java ICE during bootstrap

The "real" change that introduced this problem is

2003-09-03  Jeff Sturm  <jsturm@one-point.com>

       * decl.c (java_expand_body): New function.
       * expr.c (build_class_init): Set DECL_IGNORED_P.
       * java-tree.h (start_complete_expand_method,
       java_expand_body): Declare.
       * jcf-parse.c (cgraph.h): Include.
       (java_parse_file): Handle flag_unit_at_a_time.
       * lang.c (LANG_HOOKS_TREE_INLINING_START_INLINING,
       LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION): Define.
       (java_estimate_num_insns): Use walk_tree_without_duplicates.
       (java_start_inlining): New function.
       * parse.h (java_finish_classes): Declare.
       * parse.y: Include cgraph.h.
       (block): Don't special-case empty block production.
       (craft_constructor): Set DECL_INLINE.
       (source_end_java_method): Handle flag_unit_at_a_time.
       Replace inline code with call to java_expand_body.
       (start_complete_expand_method): Remove static modifier.
       (java_expand_method_bodies): Patch function tree for
       class initialization and/or synchronization as needed.
       Don't begin RTL expansion yet.
       (java_expand_classes): Check flag_unit_at_a_time before
       calling finish_class.
       (java_finish_classes): New function.
       (java_complete_lhs): Ensure COMPOUND_EXPR has non-NULL type.
       (patch_assignment): Set DECL_CONTEXT on temporary variable.
       (emit_test_initialization): Set DECL_IGNORED_P.

But I don't think that will make you much happier, since I believe this is
the change that introduced unit-at-a-time in the java frontend...

   /Krister


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