gencodes.c (main): Define CODE_FOR_nothing as the last possible insn_code_number...
authorHerman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
Fri, 4 Aug 2000 07:01:30 +0000 (09:01 +0200)
committerJeff Law <law@gcc.gnu.org>
Fri, 4 Aug 2000 07:01:30 +0000 (01:01 -0600)
        * gencodes.c (main): Define CODE_FOR_nothing as the last possible
        insn_code_number + 1.

From-SVN: r35473

gcc/ChangeLog
gcc/gencodes.c

index 0fe18bda777ba805fc6e431595fc6022ff7acb08..46987d0072d63b4d90ced0b4bb8757c3831fb3d3 100644 (file)
@@ -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.
index eac688367c0849b3eccc60a28b02b98902aab8e1..3c9bf9cc20c44c24a1ae41be101f3f6ba673e1eb 100644 (file)
@@ -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");