diff options
author | Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> | 2000-08-04 09:01:30 +0200 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2000-08-04 01:01:30 -0600 |
commit | 024a650bcb3afda9403402d398b897102c1b53a7 (patch) | |
tree | 7a98650a733ada90345f59734477bcd6b274fe5b /gcc | |
parent | 278a83b26fd04613865adbeb4bdd6d25bf639299 (diff) | |
download | gcc-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')
-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"); |