OSDN Git Service

2008-01-25 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 25 Jan 2008 12:08:52 +0000 (12:08 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 25 Jan 2008 12:08:52 +0000 (12:08 +0000)
commit8090c12d167f85ca166f65c3f49f8818ebd42e5f
tree510264dd523185479bb68185f5a6fa8cda2c5808
parent7d2eafe7d1a011271c824d1d819588f628fc123d
2008-01-25  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/34966
* tree-ssa-math-opts.c (execute_cse_sincos_1): For all but
default defs and PHI_NODEs we have to insert after the
defining statement.

* gcc.c-torture/compile/pr34966.c: New testcase.

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