summaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1995-06-19 23:08:22 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1995-06-19 23:08:22 +0000
commit6114a033f8c3c76a8abe6ef3866d6c70f8b9aae8 (patch)
tree98cd99a83ff467c53dc4f7a893e40d27cc351262 /gcc/tree.c
parent2cb412255e216575f89d48182f64202b18d9593d (diff)
downloadgcc-6114a033f8c3c76a8abe6ef3866d6c70f8b9aae8.tar.gz
(simple_cst_equal): Work around enum bug in vax ultrix 4.3 pcc.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10016 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree.c')
-rw-r--r--gcc/tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree.c b/gcc/tree.c
index 7450f9ff1e7..1f1447044df 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;