]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* recog.c (peephole2_optimize): Use INSN_P.
authorMark Mitchell <mark@codesourcery.com>
Thu, 25 May 2000 23:59:45 +0000 (23:59 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Thu, 25 May 2000 23:59:45 +0000 (23:59 +0000)
From-SVN: r34180

gcc/ChangeLog
gcc/recog.c

index 68a7369efdbcc89b7bb44b2f7230944be694dba8..d74052515eb3e5d9d8e28fb6ad783ad39f4fbe80 100644 (file)
@@ -1,3 +1,7 @@
+2000-05-25  Mark Mitchell  <mark@codesourcery.com>
+
+       * recog.c (peephole2_optimize): Use INSN_P.
+
 2000-05-25  Richard Henderson  <rth@cygnus.com>
 
        * ifcvt.c (seq_contains_jump): New.
index 643abb413f8b47c249470d15a92fc45463d2bd17..bac7e471621c044d70cd7894b90a87d59af32704 100644 (file)
@@ -2746,7 +2746,7 @@ peephole2_optimize (dump_file)
       for (insn = bb->end; ; insn = prev)
        {
          prev = PREV_INSN (insn);
-         if (GET_RTX_CLASS (GET_CODE (insn)) == 'i')
+         if (INSN_P (insn))
            {
              rtx try, last_insn;