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]

[graphite] Fix ICE in perlbmk


Hi,

This is a graphite branch patch only, as there is not equivalent part
in trunk yet for scalar cleanups.  This patch disables copy_prop
after graphite as pass_copy_prop does not maintain loop closed SSA
form: the ICE happens in pass_lim that expects to see the code in
loop closed ssa form.  Committed to the graphite branch.

Sebastian Pop
--
AMD - GNU Tools
2009-01-23  Sebastian Pop  <sebastian.pop@amd.com>

	* passes.c (init_optimization_passes): Do not call pass_copy_prop
	after graphite: pass_copy_prop does not maintain a proper loop closed
	SSA form.  pass_copy_prop should be fixed.

Index: passes.c
===================================================================
--- passes.c	(revision 143347)
+++ passes.c	(working copy)
@@ -659,7 +659,6 @@ init_optimization_passes (void)
 	  NEXT_PASS (pass_graphite_transforms);
 	    {
 	      struct opt_pass **p = &pass_graphite_transforms.pass.sub;
-	      NEXT_PASS (pass_copy_prop);
 	      NEXT_PASS (pass_dce_loop);
 	      NEXT_PASS (pass_lim);
 	    }

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