OSDN Git Service

Backported from mainline
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Sep 2012 15:58:51 +0000 (15:58 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Sep 2012 15:58:51 +0000 (15:58 +0000)
commit3da7083396e433093387d3fcab6ff94394332ce7
tree26f4fb7635725c43971297ffb5c17c401fe4d8c7
parent4f5c173dfd501b24ceb5c0112095744064cfb87f
Backported from mainline
2012-09-17  Jakub Jelinek  <jakub@redhat.com>

PR tree-optimization/54563
* tree-ssa-math-opts.c (execute_cse_sincos): Call
gimple_purge_dead_eh_edges if last call has been changed.

* g++.dg/torture/pr54563.C: New test.

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