re PR tree-optimization/47559 (ICE: verify_stmts failed: statement marked for throw...
authorRichard Guenther <rguenther@suse.de>
Tue, 1 Feb 2011 16:15:56 +0000 (16:15 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 1 Feb 2011 16:15:56 +0000 (16:15 +0000)
commit9939e416ee0866f95c7300f25e45fae6d9beb6eb
tree8d74b657ddb7abcb4ce8827ac122b630da6feef5
parent4a3c9687cf64bce76107b63a31241a851c8ae119
re PR tree-optimization/47559 (ICE: verify_stmts failed: statement marked for throw, but doesn't with -fnon-call-exceptions and noexcept)

2011-02-01  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/47559
* tree-ssa-loop-im.c (can_sm_ref_p): Do not perform
store-motion on references that can throw.

* g++.dg/torture/pr47559.C: New testcase.

From-SVN: r169487
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr47559.C [new file with mode: 0644]
gcc/tree-ssa-loop-im.c