re PR tree-optimization/47280 (ICE: verify_stmts failed: statement marked for throw...
authorRichard Guenther <rguenther@suse.de>
Fri, 14 Jan 2011 13:20:22 +0000 (13:20 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 14 Jan 2011 13:20:22 +0000 (13:20 +0000)
commit0fdb0d27c2dbfa8fffddf95a6df3822a771b0ffb
tree416da2ccce41a8bb452b079c2b37c89a1abdc2dd
parent35385f991f052ff58476c64ed62b09751e55e31a
re PR tree-optimization/47280 (ICE: verify_stmts failed: statement marked for throw, but doesn't with -fnon-call-exceptions -ftrapv)

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

PR tree-optimization/47280
* tree-ssa-forwprop.c (associate_plusminus): Cleanup EH and
return CFG changes.
(tree_ssa_forward_propagate_single_use_vars): Deal with
CFG changes from associate_plusminus.

* g++.dg/opt/pr47280.C: New testcase.

From-SVN: r168784
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/pr47280.C [new file with mode: 0644]
gcc/tree-ssa-forwprop.c