This is the mail archive of the gcc-patches@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]

[IPA branch] Fix few testsuite failures


Hi,
sometimes the passmanger concludes to rebuild SSA for IPA inline pass,
but it screws up as there is no current function defined.  It is
neccesary for inliner to cleanup completelly after itself.

2005-09-21  Jan Hubicka  <jh@suse.cz>
	* tree-inline.c (optimize_inline_calls): Rebuild SSA if needed.
Index: tree-inline.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-inline.c,v
retrieving revision 1.210.2.4
diff -c -3 -p -r1.210.2.4 tree-inline.c
*** tree-inline.c	15 Sep 2005 23:22:03 -0000	1.210.2.4
--- tree-inline.c	20 Sep 2005 13:51:32 -0000
*************** optimize_inline_calls (tree fn, bool ear
*** 2564,2569 ****
--- 2566,2573 ----
        fold_cond_expr_cond ();
        cleanup_tree_cfg ();
        rebuild_cgraph_edges ();
+       if (need_ssa_update_p ())
+         update_ssa (TODO_update_ssa);
      }
    free_dominance_info (CDI_DOMINATORS);
    free_dominance_info (CDI_POST_DOMINATORS);


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