Fix PR49876: Continue code generation with integer_zero_node on gloog_error
authorSebastian Pop <sebastian.pop@amd.com>
Thu, 28 Jul 2011 21:57:00 +0000 (21:57 +0000)
committerSebastian Pop <spop@gcc.gnu.org>
Thu, 28 Jul 2011 21:57:00 +0000 (21:57 +0000)
commit60cf26cce26d2e1183c65775e5793fe1ef22a723
tree25e094b4aeaa60e79415de0c4de8c2dd3f5ac6b2
parentf715f0c186c369103dc28a7fb96c20ccd53cc559
Fix PR49876: Continue code generation with integer_zero_node on gloog_error

When setting gloog_error, graphite should continue code generation
without early returns, as otherwise the SSA representation would not
be complete.  So set the new expression to integer_zero_node, that
would not require more SSA updates, and continue code generation as
nothing happened.

Regstrapped on amd64-linux.

2011-07-28  Sebastian Pop  <sebastian.pop@amd.com>

PR tree-optimization/49876
* sese.c (rename_uses): Do not return false on gloog_error: set
the new_expr to integer_zero_node and continue code generation.
(graphite_copy_stmts_from_block): Remove early exit on gloog_error.

From-SVN: r176900
gcc/ChangeLog
gcc/sese.c