aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1995-06-19 19:08:22 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1995-06-19 19:08:22 -0400
commit978958060c57bec2100b89c43e69457d48561472 (patch)
tree98cd99a83ff467c53dc4f7a893e40d27cc351262 /gcc
parentb2d5e3116e4574a45aa7e112b3f083117d23b6b2 (diff)
downloadgcc-978958060c57bec2100b89c43e69457d48561472.zip
gcc-978958060c57bec2100b89c43e69457d48561472.tar.gz
gcc-978958060c57bec2100b89c43e69457d48561472.tar.bz2
(simple_cst_equal): Work around enum bug in vax ultrix 4.3 pcc.
From-SVN: r10016
Diffstat (limited to 'gcc')
-rw-r--r--gcc/tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree.c b/gcc/tree.c
index 7450f9f..1f14470 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -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;