This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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);


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]