r167962 - in /trunk/gcc: ChangeLog graphite-ses...

spop@gcc.gnu.org spop@gcc.gnu.org
Thu Dec 16 22:54:00 GMT 2010


Author: spop
Date: Thu Dec 16 22:54:17 2010
New Revision: 167962

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167962
Log:
Fix PR46924: Do not detect reductions outside the current SESE region.

2010-12-16  Sebastian Pop  <sebastian.pop@amd.com>

	PR tree-optimization/46924
	* graphite-sese-to-poly.c (detect_commutative_reduction): Do not
	detect reductions outside the current SESE region.
	* sese.h (stmt_in_sese_p): New.
	(defined_in_sese_p): Call stmt_in_sese_p.

	* gcc.dg/graphite/pr46924.c: New.

Added:
    trunk/gcc/testsuite/gcc.dg/graphite/pr46924.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/graphite-sese-to-poly.c
    trunk/gcc/sese.h
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list