re PR middle-end/44777 (ICE: SIGSEGV with -fprofile-use in gcc.c-torture/execute...
authorJakub Jelinek <jakub@redhat.com>
Thu, 5 Jan 2012 19:54:16 +0000 (20:54 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 5 Jan 2012 19:54:16 +0000 (20:54 +0100)
commit1e69d24e61a1fc7a3133ca82bcef2a5a437da992
treec1e56a37e6acbf3a34e12021d57db83b3eae63dc
parent56494762bed42418501591de5c4d6e959feff017
re PR middle-end/44777 (ICE: SIGSEGV with -fprofile-use in gcc.c-torture/execute/comp-goto-2.c)

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.

From-SVN: r182920
gcc/ChangeLog
gcc/profile.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-prof/pr44777.c [new file with mode: 0644]