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 rtl-optimization/49941] [4.7 Regression] segmentation fault in redirect_jump_2


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49941

--- Comment #10 from Alan Modra <amodra at gcc dot gnu.org> 2011-10-15 10:32:36 UTC ---
Author: amodra
Date: Sat Oct 15 10:32:33 2011
New Revision: 180027

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180027
Log:
    PR rtl-optimization/49941
    * jump.c (mark_jump_label_1): Set JUMP_LABEL for simple_return jumps.

    * rtl.h (set_return_jump_label): Declare.
    * function.c (set_return_jump_label): New function, extracted..
    (thread_prologue_and_epilogue_insns): ..from here.  Use it in
    another instance to set return jump_label.
    * cfgrtl.c (force_nonfallthru_and_redirect): Use set_return_jump_label.
    * reorg.c (find_end_label): Likewise.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cfgrtl.c
    trunk/gcc/function.c
    trunk/gcc/jump.c
    trunk/gcc/reorg.c
    trunk/gcc/rtl.h


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