Suggested by Richard Henderson and Richard Kenner:
[gcc.git] / gcc / rtlanal.c
index c9152ab0f8e80af3a43fe988edd4208eebebf571..92220f6467a6a27cedbba9de8f19e0da94559010 100644 (file)
@@ -1030,6 +1030,9 @@ noop_move_p (insn)
 {
   rtx pat = PATTERN (insn);
 
+  if (INSN_CODE (insn) == NOOP_MOVE_INSN_CODE)
+    return 1;
+
   /* Insns carrying these notes are useful later on.  */
   if (find_reg_note (insn, REG_EQUAL, NULL_RTX))
     return 0;