re PR tree-optimization/48067 (FMA with no add operand produced by convert_mul_to_fma)
authorRichard Guenther <rguenther@suse.de>
Fri, 11 Mar 2011 16:36:16 +0000 (16:36 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 11 Mar 2011 16:36:16 +0000 (16:36 +0000)
commita758fd670cbf0935c6fa6cac3336b184f5c3c92a
tree50e8dad10f8d14f7dbb32ac528ad778bf92feeed
parent03dfda54535c36cef955c0d06d46b82e2356574c
re PR tree-optimization/48067 (FMA with no add operand produced by convert_mul_to_fma)

2011-03-11  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/48067
* tree-ssa-math-opts.c (convert_mult_to_fma): Verify the
multiplication result will be only used once on the target
stmt.

* gcc.dg/pr48067.c: New testcase.

From-SVN: r170877
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr48067.c [new file with mode: 0644]
gcc/tree-ssa-math-opts.c