Preliminary patch for PR23820 and PR24309

Eric Botcazou ebotcazou@libertysurf.fr
Sun Oct 21 20:58:00 GMT 2007


Hi Sebastian,

> As we know that we can fix this optimization PR, and because I still
> don't see how to implement a solution for that optimization PR, and
> because the patch that I'm attaching, with ltrans-3 XFAIL-ed, passes
> bootstrap and test on amd64-linux fixing three ICE PRs 23820, 24309,
> and 33766, is the patch okay for trunk?

2007-10-19  Sebastian Pop  <sebastian.pop@amd.com>

	PR tree-optimization/23820
	PR tree-optimization/24309
	PR tree-optimization/33766
	* testsuite/gcc.dg/tree-ssa/pr23820.c: New.
	* testsuite/gcc.dg/tree-ssa/pr24309.c: New.
	* testsuite/gcc.dg/tree-ssa/pr33766.c: New.
	* testsuite/gcc.dg/tree-ssa/ltrans-3.c: XFAILed.
	* tree-loop-linear.c (perfect_loop_nest_depth): New.
	(linear_transform_loops): Use perfect_loop_nest_depth.
	* lambda-code.c (perfect_nest_p): Outer loops in perfect nests 
	should have a single condition: their exit.


Entries for the testsuite must go to testsuite/ChangeLog.

-- 
Eric Botcazou



More information about the Gcc-patches mailing list