re PR tree-optimization/33615 (Hoisting of potentially-throwing values for -fnon...
commit05c42b11e64489819f65e0daec4679f311ec3632
authorRichard Sandiford <rsandifo@nildram.co.uk>
Tue, 9 Oct 2007 11:05:33 +0000 (9 11:05 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Tue, 9 Oct 2007 11:05:33 +0000 (9 11:05 +0000)
tree94d4249b124b7d6332c42eef3d7a4bddeec5583c
parent94172876940bd493e6c193e46dfacaa77d1f8606
re PR tree-optimization/33615 (Hoisting of potentially-throwing values for -fnon-call-exceptions)

gcc/
PR tree-optimization/33615
* tree-ssa-pre.c (compute_avail): Don't call make_values_for_stmt
if the statement might throw.  Fix formatting.

gcc/testsuite/
PR tree-optimization/33615
* g++.dg/tree-ssa/pr33615-2.C: New test.

From-SVN: r129164
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/tree-ssa/pr33615-2.C [new file with mode: 0644]
gcc/tree-ssa-pre.c