tree-predcom.c (suitable_reference_p): Return false if the reference can throw.
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 15 Apr 2008 15:39:42 +0000 (15:39 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 15 Apr 2008 15:39:42 +0000 (15:39 +0000)
commit7e80c6bf0ac19530a971c4d104f5e6a91dc81cb1
treee59230b706e8a18c25d185160e128d00a5950d59
parentb97d81535d07cfb6d1275f9c83d88af0dec96cd0
tree-predcom.c (suitable_reference_p): Return false if the reference can throw.

* tree-predcom.c (suitable_reference_p): Return false if the
reference can throw.

From-SVN: r134319
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/loop_optimization1.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/loop_optimization1.ads [new file with mode: 0644]
gcc/tree-predcom.c