[Bug middle-end/50907] [4.7 Regression] EDGE_CROSSING incorrectly set across same section with -freorder-blocks-and-partition -fPIC -fprofile-use
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Nov 28 21:08:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50907
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-11-28 21:04:15 UTC ---
Author: jakub
Date: Mon Nov 28 21:04:10 2011
New Revision: 181787
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181787
Log:
PR middle-end/50907
* function.c (convert_jumps_to_returns): When redirecting an edge
succ to EXIT_BLOCK_PTR, clear EDGE_CROSSING flag.
* gcc.dg/tree-prof/pr50907.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/tree-prof/pr50907.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/function.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list