Fix miscompile of 416.gamess.
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 11 Aug 2010 20:31:24 +0000 (20:31 +0000)
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 11 Aug 2010 20:31:24 +0000 (20:31 +0000)
commit68a6a8bae975be7062ce93127e7529030a604925
tree0f34ecbaa0b4bd2e13e9761443435279568aedda
parent51ec8951638ec1ee24ec5b0f4865032139fedca1
Fix miscompile of 416.gamess.

2010-07-29  Sebastian Pop  <sebastian.pop@amd.com>

* graphite-sese-to-poly.c (rewrite_close_phi_out_of_ssa): Add back
the case removed in the previous patch, when the only phi argument
is defined in the same loop as the phi node itself.  Handle it
separately from the invariant case by both propagating it outside
the region and replacing the phi node with an assign.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163169 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/ChangeLog.graphite
gcc/graphite-sese-to-poly.c