]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/tree-ssa-math-opts.c
2010-08-25 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 25 Aug 2010 10:47:50 +0000 (10:47 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 25 Aug 2010 10:47:50 +0000 (10:47 +0000)
commit4c80086d7207494cfc1ba26521c83045c3a8b75e
tree1dd13ec1e29c90431e4280a13f800819f82897e2
parent559c9389f9e707f42e9b883eff93c11e50105369
2010-08-25  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/45393
* tree-ssa-math-opts.c (execute_cse_sincos_1): Properly transfer
and clean EH info.  Avoid SSA update.
(execute_cse_sincos): Cleanup the CFG if it has changed.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163541 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr45393.C [new file with mode: 0644]
gcc/tree-ssa-math-opts.c