OSDN Git Service

* expr.c (expand_load_internal): Fix missing parens in
authordnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Jul 2005 18:28:12 +0000 (18:28 +0000)
committerdnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Jul 2005 18:28:12 +0000 (18:28 +0000)
predicate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@102504 138bc75d-0d04-0410-961f-82ee72b054a4

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

index da643f4..cd908fd 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 5c5a56c..165aea7 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);