summaryrefslogtreecommitdiff
path: root/gcc/gencodes.c
diff options
context:
space:
mode:
authorHerman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>2000-08-04 09:01:30 +0200
committerJeff Law <law@gcc.gnu.org>2000-08-04 01:01:30 -0600
commit024a650bcb3afda9403402d398b897102c1b53a7 (patch)
tree7a98650a733ada90345f59734477bcd6b274fe5b /gcc/gencodes.c
parent278a83b26fd04613865adbeb4bdd6d25bf639299 (diff)
downloadgcc-024a650bcb3afda9403402d398b897102c1b53a7.tar.gz
gencodes.c (main): Define CODE_FOR_nothing as the last possible insn_code_number + 1.
* gencodes.c (main): Define CODE_FOR_nothing as the last possible insn_code_number + 1. From-SVN: r35473
Diffstat (limited to 'gcc/gencodes.c')
-rw-r--r--gcc/gencodes.c2
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");