Fix missing parens in java/expr.c
Diego Novillo
dnovillo@redhat.com
Thu Jul 28 18:26:00 GMT 2005
Somebody forgot to bracket this predicate properly. This was
causing bootstrap failures on x86.
* expr.c (expan_load_internal): Fix missing parens in
predicate.
Index: expr.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/expr.c,v
retrieving revision 1.232
diff -d -u -p -r1.232 expr.c
--- expr.c 28 Jul 2005 15:00:53 -0000 1.232
+++ expr.c 28 Jul 2005 18:22:55 -0000
@@ -1321,7 +1321,7 @@ expand_load_internal (int index, tree ty
value into it. Then we push this new local on the stack.
Hopefully this all gets optimized out. */
copy = build_decl (VAR_DECL, NULL_TREE, type);
- if (INTEGRAL_TYPE_P (type) || POINTER_TYPE_P (type)
+ if ((INTEGRAL_TYPE_P (type) || POINTER_TYPE_P (type))
&& TREE_TYPE (copy) != TREE_TYPE (var))
var = convert (type, var);
java_add_local_var (copy);
More information about the Java-patches
mailing list