diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-02-07 22:39:49 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-02-07 22:39:49 +0000 |
commit | 4951824ab88a50e5787fda38f73ef7ed36fe9630 (patch) | |
tree | c7b39d8a23d3ab143249e93e9253aa9ed05b2f9f /gcc/genoutput.c | |
parent | fa426235d6507241e779257cae6776a616e03fb7 (diff) | |
download | gcc-4951824ab88a50e5787fda38f73ef7ed36fe9630.tar.gz |
* genoutput.c (output_get_insn_name): Handle NOOP_MOVE_INSN_CODE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62552 138bc75d-0d04-0410-961f-82ee72b054a4
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 aae111b005f..44960961274 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"); } |