This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/48067] [4.6 Regression] FMA with no add operand produced by convert_mul_to_fma


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]