This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Fix missing parens in java/expr.c
- From: Diego Novillo <dnovillo at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: java-patches at gcc dot gnu dot org
- Date: Thu, 28 Jul 2005 14:26:03 -0400
- Subject: Fix missing parens in java/expr.c
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);