expr.c (expand_load_internal): Fix missing parens in predicate.
authorDiego Novillo <dnovillo@redhat.com>
Thu, 28 Jul 2005 18:28:12 +0000 (18:28 +0000)
committerDiego Novillo <dnovillo@gcc.gnu.org>
Thu, 28 Jul 2005 18:28:12 +0000 (14:28 -0400)
* expr.c (expand_load_internal): Fix missing parens in
predicate.

From-SVN: r102504

gcc/java/ChangeLog
gcc/java/expr.c

index da643f4beb6db81a35ce28a6ff62e43d557a9099..cd908fd672a82ac79499426506b6088779a55a22 100644 (file)
@@ -1,3 +1,8 @@
+2005-07-28  Diego Novillo  <dnovillo@redhat.com>
+
+       * expr.c (expand_load_internal): Fix missing parens in
+       predicate.
+
 2005-07-28  Andrew Haley  <aph@redhat.com>
 
        * expr.c (expand_load_internal): Convert to destination type.
index 5c5a56ca9c4caf6e47a51fd959fabefd223c35a7..165aea709808b1e757650db4afccb38407cf1844 100644 (file)
@@ -1321,7 +1321,7 @@ expand_load_internal (int index, tree type, int pc)
      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);