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/51719] [4.7 Regression] ICE: verify_gimple failed: LHS in noreturn call with -fpartial-inlining -fprofile-use and exceptions


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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-01-03 09:09:45 UTC ---
Author: jakub
Date: Tue Jan  3 09:09:41 2012
New Revision: 182832

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182832
Log:
    PR tree-optimization/51719
    * value-prof.c (gimple_ic): When indirect call isn't noreturn,
    but direct call is, clear direct call's lhs and don't add fallthrough
    edge from dcall_bb to join_bb and PHIs.

    * g++.dg/tree-prof/pr51719.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/tree-prof/pr51719.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/value-prof.c


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