This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/51719] [4.7 Regression] ICE: verify_gimple failed: LHS in noreturn call with -fpartial-inlining -fprofile-use and exceptions
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 03 Jan 2012 09:09:45 +0000
- Subject: [Bug tree-optimization/51719] [4.7 Regression] ICE: verify_gimple failed: LHS in noreturn call with -fpartial-inlining -fprofile-use and exceptions
- Auto-submitted: auto-generated
- References: <bug-51719-4@http.gcc.gnu.org/bugzilla/>
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