This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/48067] [4.6 Regression] FMA with no add operand produced by convert_mul_to_fma
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 11 Mar 2011 16:37:10 +0000
- Subject: [Bug tree-optimization/48067] [4.6 Regression] FMA with no add operand produced by convert_mul_to_fma
- Auto-submitted: auto-generated
- References: <bug-48067-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48067
--- Comment #4 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-03-11 16:36:22 UTC ---
Author: rguenth
Date: Fri Mar 11 16:36:16 2011
New Revision: 170877
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170877
Log:
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.
Added:
trunk/gcc/testsuite/gcc.dg/pr48067.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-ssa-math-opts.c