diff options
author | Diego Novillo <dnovillo@redhat.com> | 2005-07-28 18:28:12 +0000 |
---|---|---|
committer | Diego Novillo <dnovillo@gcc.gnu.org> | 2005-07-28 14:28:12 -0400 |
commit | baa923061b61df003f5671dc27548af39bb42d3d (patch) | |
tree | 25ac4a6e61dd7b35c20d67813315b18f47a03a03 /gcc/java/expr.c | |
parent | 796cccfcc36d87e8112972dcbd97e9693f014fc7 (diff) | |
download | gcc-baa923061b61df003f5671dc27548af39bb42d3d.zip gcc-baa923061b61df003f5671dc27548af39bb42d3d.tar.gz gcc-baa923061b61df003f5671dc27548af39bb42d3d.tar.bz2 |
expr.c (expand_load_internal): Fix missing parens in predicate.
* expr.c (expand_load_internal): Fix missing parens in
predicate.
From-SVN: r102504
Diffstat (limited to 'gcc/java/expr.c')
-rw-r--r-- | gcc/java/expr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/expr.c b/gcc/java/expr.c index 5c5a56c..165aea7 100644 --- a/gcc/java/expr.c +++ b/gcc/java/expr.c @@ -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); |