insn-notes.def (NOTE_INSN_CFA_RESTORE_STATE): Remove.
authorRichard Henderson <rth@redhat.com>
Tue, 26 Jul 2011 00:57:55 +0000 (17:57 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Tue, 26 Jul 2011 00:57:55 +0000 (17:57 -0700)
        * insn-notes.def (NOTE_INSN_CFA_RESTORE_STATE): Remove.
        * final.c (final_scan_insn): Don't test for it.
        (rest_of_clean_state): Likewise.

From-SVN: r176779

gcc/ChangeLog
gcc/final.c
gcc/insn-notes.def

index c86e6da40349f3d70c2b8a67d7b31fecb56df82a..b2ed72a61b3da729ce32360d48400591b41a265d 100644 (file)
@@ -1,3 +1,9 @@
+2011-07-25  Richard Henderson  <rth@redhat.com>
+
+       * insn-notes.def (NOTE_INSN_CFA_RESTORE_STATE): Remove.
+       * final.c (final_scan_insn): Don't test for it.
+       (rest_of_clean_state): Likewise.
+
 2011-07-25  Richard Henderson  <rth@redhat.com>
 
        PR debug/49841
index 3416955d7eeeb20f017013d4a1cffce026c8c8ca..1d80adffc48dfbec55ad9b149337cff474c7b57f 100644 (file)
@@ -1977,9 +1977,6 @@ final_scan_insn (rtx insn, FILE *file, int optimize_p ATTRIBUTE_UNUSED,
          targetm.asm_out.function_begin_epilogue (file);
          break;
 
-       case NOTE_INSN_CFA_RESTORE_STATE:
-         break;
-
        case NOTE_INSN_CFI:
          dwarf2out_emit_cfi (NOTE_CFI (insn));
          break;
@@ -4373,8 +4370,7 @@ rest_of_clean_state (void)
              (NOTE_KIND (insn) != NOTE_INSN_VAR_LOCATION
               && NOTE_KIND (insn) != NOTE_INSN_CALL_ARG_LOCATION
               && NOTE_KIND (insn) != NOTE_INSN_BLOCK_BEG
-              && NOTE_KIND (insn) != NOTE_INSN_BLOCK_END
-              && NOTE_KIND (insn) != NOTE_INSN_CFA_RESTORE_STATE)))
+              && NOTE_KIND (insn) != NOTE_INSN_BLOCK_END)))
        print_rtl_single (final_output, insn);
     }
 
index 859cdacab590c00512f06dc54268afdf0a18149f..2ea673f05e643e4a06ec9ec01193142d8bdc5f75 100644 (file)
@@ -73,10 +73,6 @@ INSN_NOTE (BASIC_BLOCK)
    between hot and cold text sections.  */
 INSN_NOTE (SWITCH_TEXT_SECTIONS)
 
-/* Mark the restore point after an epilogue changed CFI data.  Used only
-   when an epilogue appears in the middle of a function.  */
-INSN_NOTE (CFA_RESTORE_STATE)
-
 /* When emitting dwarf2 frame information, contains a directive that
    should be emitted.  */
 INSN_NOTE (CFI)