diff options
author | Jan Hubicka <jh@suse.cz> | 2006-11-27 16:07:10 +0100 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2006-11-27 15:07:10 +0000 |
commit | 071a42f958c1514d608870c965de88af5f797ec2 (patch) | |
tree | 3174477a8d1b3916f3d18072026872cc7db41e00 /gcc/function.c | |
parent | 2505a3f233da445e15c2a5d6bdb82c7a6dd6a2d4 (diff) | |
download | gcc-071a42f958c1514d608870c965de88af5f797ec2.zip gcc-071a42f958c1514d608870c965de88af5f797ec2.tar.gz gcc-071a42f958c1514d608870c965de88af5f797ec2.tar.bz2 |
cfgexpand.c (construct_exit_block): Don't disturb end of last BB.
* cfgexpand.c (construct_exit_block): Don't disturb end of last BB.
* rtl.texi (NOTE_INSN_FUNCTION_END): Remove.
* final.c (final_scan_insn): Don't scan NOTE_INSN_FUNCTION_END.
* insn-notes.def (FUNCTION_END): Remove.
* jump.c (delete_related_insns): Don't worry about FUNCTION_END.
(redicect_jump_2): Don't accept -1 parameter to remove FUNCTION_END
note.
* ifcvt.c (dead_or_predictable): Update call of redirect_jump_2.
* function.c (expand_function_end): Don't emit NOTE_INSN_FUNCTION_END
* cfglayout.c (duplicate_insn_chain): Don't worry about
NOTE_FUNCTION_END.
From-SVN: r119250
Diffstat (limited to 'gcc/function.c')
-rw-r--r-- | gcc/function.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/gcc/function.c b/gcc/function.c index 78dfe81..da93fa2 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -4342,11 +4342,6 @@ expand_function_end (void) clear_pending_stack_adjust (); do_pending_stack_adjust (); - /* Mark the end of the function body. - If control reaches this insn, the function can drop through - without returning a value. */ - emit_note (NOTE_INSN_FUNCTION_END); - /* Output a linenumber for the end of the function. SDB depends on this. */ force_next_line_note (); @@ -5289,15 +5284,14 @@ epilogue_done: /* Similarly, move any line notes that appear after the epilogue. There is no need, however, to be quite so anal about the existence - of such a note. Also move the NOTE_INSN_FUNCTION_END and (possibly) + of such a note. Also possibly move NOTE_INSN_FUNCTION_BEG notes, as those can be relevant for debug info generation. */ for (insn = epilogue_end; insn; insn = next) { next = NEXT_INSN (insn); if (NOTE_P (insn) - && (NOTE_LINE_NUMBER (insn) == NOTE_INSN_FUNCTION_BEG - || NOTE_LINE_NUMBER (insn) == NOTE_INSN_FUNCTION_END)) + && (NOTE_LINE_NUMBER (insn) == NOTE_INSN_FUNCTION_BEG)) reorder_insns (insn, insn, PREV_INSN (epilogue_end)); } } |