diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/gencodes.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0fe18bda777..46987d0072d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2000-08-04 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> + + * gencodes.c (main): Define CODE_FOR_nothing as the last possible + insn_code_number + 1. + 2000-08-04 Kazu Hirata <kazu@hxi.com> * cse.c: Fix a comment typo. Fix formatting. 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"); |