http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44777
--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-02-09 21:34:25 UTC --- Author: jakub Date: Thu Feb 9 21:34:21 2012 New Revision: 184070 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184070 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_5-branch/gcc/testsuite/gcc.dg/tree-prof/pr44777.c Modified: branches/gcc-4_5-branch/gcc/ChangeLog branches/gcc-4_5-branch/gcc/profile.c branches/gcc-4_5-branch/gcc/testsuite/ChangeLog