Fix PR47691: do not abort compilation when code generation fails
authorSebastian Pop <sebastian.pop@amd.com>
Wed, 27 Jul 2011 16:52:52 +0000 (16:52 +0000)
committerSebastian Pop <spop@gcc.gnu.org>
Wed, 27 Jul 2011 16:52:52 +0000 (16:52 +0000)
commitbd4a54da007f9a0aaa2749ea810b634e3b8a60ea
tree9bc3bb62dc819da99efdeb52080674f4fd642894
parent04c9ea12e0f579e0f974ffe6a979376ddafbc0a1
Fix PR47691: do not abort compilation when code generation fails

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

PR middle-end/47691
* graphite-clast-to-gimple.c (translate_clast_user): Update use of
copy_bb_and_scalar_dependences.
* sese.c (rename_uses): Do not call gcc_assert.  Set gloog_error.
(graphite_copy_stmts_from_block): Update call to rename_uses.
(copy_bb_and_scalar_dependences): Update call to
graphite_copy_stmts_from_block.
* sese.h (copy_bb_and_scalar_dependences): Update declaration.

* gfortran.dg/graphite/id-pr47691.f: New.

From-SVN: r176836
gcc/ChangeLog
gcc/graphite-clast-to-gimple.c
gcc/sese.c
gcc/sese.h
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/graphite/id-pr47691.f [new file with mode: 0644]