http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44777
--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-02-09 17:20:31 UTC --- Author: jakub Date: Thu Feb 9 17:20:09 2012 New Revision: 184053 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184053 Log: Backported from mainline 2012-01-05 Jakub Jelinek <ja...@redhat.com> PR middle-end/44777 * profile.c (branch_prob): Split bbs that have exit edge and need a fake entry edge too. * gcc.dg/tree-prof/pr44777.c: New test. Added: branches/gcc-4_6-branch/gcc/testsuite/gcc.dg/tree-prof/pr44777.c Modified: branches/gcc-4_6-branch/gcc/ChangeLog branches/gcc-4_6-branch/gcc/profile.c branches/gcc-4_6-branch/gcc/testsuite/ChangeLog