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/51519] [4.7 Regression] ICE: in inline_small_functions, at ipa-inline.c:1410 with -O -fno-guess-branch-probability -findirect-inlining


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

--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-12-13 12:55:00 UTC ---
Author: rguenth
Date: Tue Dec 13 12:54:57 2011
New Revision: 182279

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182279
Log:
2011-12-13  Richard Guenther  <rguenther@suse.de>

    PR tree-optimization/51519
    * ipa-inline.c (edge_badness): Use edge growth in non-guessed
    branch probability case as well.

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

Added:
    trunk/gcc/testsuite/gcc.dg/pr51519.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/ipa-inline.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]