OSDN Git Service

Fix PR49876: Continue code generation with integer_zero_node on gloog_error
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Jul 2011 21:57:00 +0000 (21:57 +0000)
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Jul 2011 21:57:00 +0000 (21:57 +0000)
commit2a483856aa19f2c7939becccb4fa0d41f12bd839
tree25e094b4aeaa60e79415de0c4de8c2dd3f5ac6b2
parent6e987697fa7ccb6d4f7c957255d849361a29167e
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.

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