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/51362] [4.7 Regression] ICE: SIGFPE (division by zero) in good_cloning_opportunity_p at ipa-cp.c:2401


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

--- Comment #6 from Martin Jambor <jamborm at gcc dot gnu.org> 2011-12-13 15:43:39 UTC ---
Author: jamborm
Date: Tue Dec 13 15:43:36 2011
New Revision: 182288

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182288
Log:
2011-12-13  Martin Jambor  <mjambor@suse.cz>

    PR tree-optimization/51362
    * ipa-cp.c (estimate_local_effects): When estimated size of a
    specialized clone is zero, bump it to one.

    * testsuite/gcc.dg/ipa/pr51362.c: New test.


Added:
    trunk/gcc/testsuite/gcc.dg/ipa/pr51362.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/ipa-cp.c
    trunk/gcc/testsuite/ChangeLog


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