* genoutput.c (output_get_insn_name): Handle NOOP_MOVE_INSN_CODE.
authorSegher Boessenkool <segher@koffie.nl>
Fri, 7 Feb 2003 22:39:49 +0000 (23:39 +0100)
committerRichard Henderson <rth@gcc.gnu.org>
Fri, 7 Feb 2003 22:39:49 +0000 (14:39 -0800)
From-SVN: r62552

gcc/ChangeLog
gcc/genoutput.c

index bb4d4db..1042501 100644 (file)
@@ -1,3 +1,7 @@
+2003-02-07  Segher Boessenkool  <segher@koffie.nl>
+        * genoutput.c (output_get_insn_name): Handle NOOP_MOVE_INSN_CODE.
+
 2003-02-07  Roger Sayle  <roger@eyesopen.com>
 
        * builtin-types.def (BT_FN_FLOAT_FLOAT_FLOAT): New built-in type.
index aae111b..4496096 100644 (file)
@@ -419,7 +419,10 @@ output_get_insn_name ()
   printf ("get_insn_name (code)\n");
   printf ("     int code;\n");
   printf ("{\n");
-  printf ("  return insn_data[code].name;\n");
+  printf ("  if (code == NOOP_MOVE_INSN_CODE)\n");
+  printf ("    return \"NOOP_MOVE\";\n");
+  printf ("  else\n");
+  printf ("    return insn_data[code].name;\n");
   printf ("}\n");
 }