diff options
| author | dnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-07-28 18:28:12 +0000 |
|---|---|---|
| committer | dnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-07-28 18:28:12 +0000 |
| commit | f31850ed956917e1e3841fbde6c0892f553daf93 (patch) | |
| tree | 25ac4a6e61dd7b35c20d67813315b18f47a03a03 /gcc/java/expr.c | |
| parent | 727d76188b1af2462af07428303b00068e9040fb (diff) | |
| download | ppe42-gcc-f31850ed956917e1e3841fbde6c0892f553daf93.tar.gz ppe42-gcc-f31850ed956917e1e3841fbde6c0892f553daf93.zip | |
* expr.c (expand_load_internal): Fix missing parens in
predicate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@102504 138bc75d-0d04-0410-961f-82ee72b054a4
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 5c5a56ca9c4..165aea70980 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); |

