diff options
author | Segher Boessenkool <segher@koffie.nl> | 2003-02-07 23:39:49 +0100 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2003-02-07 14:39:49 -0800 |
commit | a0f0e963024592c74b4a766ac1343011491090bc (patch) | |
tree | c7b39d8a23d3ab143249e93e9253aa9ed05b2f9f /gcc/genoutput.c | |
parent | 46847aa6e79a40d2d569c726a50dc920e6ef2d81 (diff) | |
download | gcc-a0f0e963024592c74b4a766ac1343011491090bc.zip gcc-a0f0e963024592c74b4a766ac1343011491090bc.tar.gz gcc-a0f0e963024592c74b4a766ac1343011491090bc.tar.bz2 |
* genoutput.c (output_get_insn_name): Handle NOOP_MOVE_INSN_CODE.
From-SVN: r62552
Diffstat (limited to 'gcc/genoutput.c')
-rw-r--r-- | gcc/genoutput.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/genoutput.c b/gcc/genoutput.c index aae111b..4496096 100644 --- a/gcc/genoutput.c +++ b/gcc/genoutput.c @@ -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"); } |