* cfgexpand.c (construct_exit_block): Don't disturb end of last BB.
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 27 Nov 2006 15:21:36 +0000 (15:21 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 27 Nov 2006 15:21:36 +0000 (15:21 +0000)
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119251 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/final.c

index 9b3d696..ac81cdc 100644 (file)
@@ -1697,7 +1697,6 @@ final_scan_insn (rtx insn, FILE *file, int optimize ATTRIBUTE_UNUSED,
       switch (NOTE_LINE_NUMBER (insn))
        {
        case NOTE_INSN_DELETED:
-       case NOTE_INSN_FUNCTION_END:
          break;
 
        case NOTE_INSN_SWITCH_TEXT_SECTIONS: