From: Jan Hubicka Date: Mon, 27 Nov 2006 15:21:36 +0000 (+0000) Subject: cfgexpand.c (construct_exit_block): Don't disturb end of last BB. X-Git-Tag: releases/gcc-4.3.0~8262 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3d3d8986db75c95a43be00918c9888ca7569d41;p=thirdparty%2Fgcc.git 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: r119251 --- diff --git a/gcc/final.c b/gcc/final.c index 9b3d69601c40..ac81cdcfe6dd 100644 --- a/gcc/final.c +++ b/gcc/final.c @@ -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: