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 middle-end/18270] [4.0 Regression] internal compiler error: in tree_redirect_edge_and_branch, at tree-cfg.c:4146


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-11-02 13:35 -------
I think it was caused by:
2004-11-01  Andrew MacLeod  <amacleod@redhat.com>

        PR tree-optimization/16447
        * tree-cfg.c (bsi_commit_one_edge_insert): Rename from
        bsi_commit_edge_inserts_1, and make funtion external.  Return new block.
        (bsi_commit_edge_inserts): Use renamed bsi_commit_one_edge_insert.
        * tree-optimize.c (pass_cleanup_cfg_post_optimizing): Enable listing.
        * tree-flow.h (bsi_commit_one_edge_insert): Extern decl.
        * tree-outof-ssa.c (rewrite_trees): Don't commit edges here.
        (same_stmt_list_p): New.  Return TRUE if edge is to be forwarded.
        (identical_copies_p): New.  Return true is two copies are the same.
        (identical_stmt_lists_p): New.  Return true if stmt lists are the same.
        (analyze_edges_for_bb): New.  Determine how best to insert edge stmts
        for a basic block.
        (perform_edge_inserts): New.  Determine what to do with all stmts that
        have been inserted on edges.
        (remove_ssa_form):  Analyze and commit edges from here.

Aka I cannot reproduce it with a tree right before but I can right after (well really two patches after but 
that other patch is a removal of unused code).

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |amacleod at redhat dot com
           Keywords|                            |ice-on-valid-code
            Summary|internal compiler error: in |[4.0 Regression] internal
                   |tree_redirect_edge_and_branc|compiler error: in
                   |h, at tree-cfg.c:4146       |tree_redirect_edge_and_branc
                   |                            |h, at tree-cfg.c:4146
   Target Milestone|---                         |4.0.0


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


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