diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-08-04 07:01:30 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-08-04 07:01:30 +0000 |
commit | 9e1aa14d7e4a28dd2acb8d57c3e637817f02f59c (patch) | |
tree | 7a98650a733ada90345f59734477bcd6b274fe5b /gcc/gencodes.c | |
parent | cb10db9d64315038c29449f19cc4b6a0d6b75b40 (diff) | |
download | gcc-9e1aa14d7e4a28dd2acb8d57c3e637817f02f59c.tar.gz |
* gencodes.c (main): Define CODE_FOR_nothing as the last possible
insn_code_number + 1.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35473 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gencodes.c')
-rw-r--r-- | gcc/gencodes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gencodes.c b/gcc/gencodes.c index eac688367c0..3c9bf9cc20c 100644 --- a/gcc/gencodes.c +++ b/gcc/gencodes.c @@ -84,7 +84,7 @@ from the machine description file `md'. */\n\n"); gen_insn (desc); } - printf (" CODE_FOR_nothing };\n"); + printf (" CODE_FOR_nothing = %d };\n", insn_code_number + 1); printf ("\n#define MAX_INSN_CODE ((int) CODE_FOR_nothing)\n"); |