]> gcc.gnu.org Git - gcc.git/commitdiff
(final_scan_insn): Don't call alter_cond unless condition is on cc0.
authorRichard Kenner <kenner@gcc.gnu.org>
Tue, 27 Jun 1995 16:39:46 +0000 (12:39 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Tue, 27 Jun 1995 16:39:46 +0000 (12:39 -0400)
From-SVN: r10062

gcc/final.c

index 99689502882afd1f6bf0d6ce8b2a2b8c6612e00d..73780b9125410b7b8d2581e875545399052a1586 100644 (file)
@@ -1805,6 +1805,8 @@ final_scan_insn (insn, file, optimize, prescan, nopeepholes)
            && GET_CODE (body) == SET
            && SET_DEST (body) == pc_rtx
            && GET_CODE (SET_SRC (body)) == IF_THEN_ELSE
+           && GET_RTX_CLASS (GET_CODE (XEXP (SET_SRC (body), 0))) == '<'
+           && XEXP (XEXP (SET_SRC (body), 0), 1) == cc0_rtx
            /* This is done during prescan; it is not done again
               in final scan when prescan has been done.  */
            && prescan >= 0)
This page took 0.065563 seconds and 5 git commands to generate.