This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/50907] [4.7 Regression] EDGE_CROSSING incorrectly set across same section with -freorder-blocks-and-partition -fPIC -fprofile-use


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]