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/51396] [4.7 Regression] ICE: verify_flow_info failed: BB 4 can not throw but has an EH edge with -O2 -fnon-call-exceptions -mfma4


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51396

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-12-05 20:56:18 UTC ---
Author: jakub
Date: Mon Dec  5 20:56:14 2011
New Revision: 182028

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182028
Log:
    PR tree-optimization/51396
    * tree-ssa-math-opts.c (convert_mult_to_fma): Don't optimize
    if MUL_RESULT has zero uses.

    * g++.dg/opt/pr51396.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/opt/pr51396.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]