Fix scalar reduction translation for testcase based on PR41193.
commit539b915abfa8e8729a921c86bf002f57c102e786
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 15 Oct 2009 18:22:39 +0000 (15 18:22 +0000)
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 15 Oct 2009 18:22:39 +0000 (15 18:22 +0000)
treec0a4b7644bfee85c2cd033387200bda44359f14d
parentd8c62609e617cf7bbf9c3eba5094fb12994a503e
Fix scalar reduction translation for testcase based on PR41193.

2009-10-15  Sebastian Pop  <sebastian.pop@amd.com>

* graphite-sese-to-poly.c (insert_copyin): Use gsi_insert_seq_on_edge.
(rewrite_commutative_reductions_out_of_ssa): Call gsi_commit_edge_inserts,
and check the SSA representation.

* gfortran.dg/graphite/id-18.f90: New, reduced from PR41193.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/graphite@152862 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog.graphite
gcc/graphite-sese-to-poly.c
gcc/testsuite/gfortran.dg/graphite/id-18.f90 [new file with mode: 0644]