re PR tree-optimization/42185 ([graphite] expected gimple_assign(error_mark), have...
authorAldy Hernandez <aldyh@redhat.com>
Tue, 15 Dec 2009 15:17:46 +0000 (15:17 +0000)
committerAldy Hernandez <aldyh@gcc.gnu.org>
Tue, 15 Dec 2009 15:17:46 +0000 (15:17 +0000)
commit0596e97f1c045f73b5ce65f85e5a20fc5e728392
tree10039beb55c068a2e7c2ed3a603b42ebdc4214c6
parent3efd49f9dfe125830c71d8f52a65ced5180dad88
re PR tree-optimization/42185 ([graphite] expected gimple_assign(error_mark), have gimple_call() in gimple_assign_rhs_code, at gimple.h:1820)

       PR graphite/42185
        * graphite-sese-to-poly.c (is_reduction_operation_p): Assert that
        we are a GIMPLE_ASSIGN.  Do not calculate rhs code twice.
        (follow_ssa_with_commutative_ops): Return NULL on non assignment.

From-SVN: r155256
gcc/ChangeLog
gcc/graphite-sese-to-poly.c
gcc/testsuite/gfortran.dg/graphite/pr42185.f90 [new file with mode: 0644]