(simple_cst_equal): Work around enum bug in vax ultrix 4.3 pcc.
authorRichard Kenner <kenner@gcc.gnu.org>
Mon, 19 Jun 1995 23:08:22 +0000 (19:08 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Mon, 19 Jun 1995 23:08:22 +0000 (19:08 -0400)
From-SVN: r10016

gcc/tree.c

index 7450f9f..1f14470 100644 (file)
@@ -3593,7 +3593,7 @@ simple_cst_equal (t1, t2)
      handled above.  If this is a language-specific tree code, we can't
      trust what might be in the operand, so say we don't know
      the situation.  */
-  if (code1
+  if ((int) code1
       >= sizeof standard_tree_code_type / sizeof standard_tree_code_type[0])
     return -1;