re PR tree-optimization/34966 (ICE: verify_ssa fails when optimization trigonometric...
authorRichard Guenther <rguenther@suse.de>
Fri, 25 Jan 2008 12:08:52 +0000 (12:08 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 25 Jan 2008 12:08:52 +0000 (12:08 +0000)
commit59805c3b29f62c729aa176eea03bbd20b455b7e5
tree510264dd523185479bb68185f5a6fa8cda2c5808
parent57e2aff267801c94a26098f7cb7b1e9bc054b854
re PR tree-optimization/34966 (ICE: verify_ssa fails when optimization trigonometric code)

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.

From-SVN: r131824
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr34966.c [new file with mode: 0644]
gcc/tree-ssa-math-opts.c