This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/51648] [4.7 Regression] Profiledbootstrap failure on x86_64-linux
- 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: Wed, 04 Jan 2012 21:40:41 +0000
- Subject: [Bug bootstrap/51648] [4.7 Regression] Profiledbootstrap failure on x86_64-linux
- Auto-submitted: auto-generated
- References: <bug-51648-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51648
--- Comment #14 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-01-04 21:40:41 UTC ---
Created attachment 26243
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26243
gcc47-pr51648.patch
Untested patch that implements this in tree-cfg.c (as I wrote, another
alternative is in cfganal.c, and another perhaps in branch_prob, we look for
the last stmt anyway, so just notting when it is a noreturn call and setting
need_exit_edge in that case should be enough too.