diff options
author | Kaveh R. Ghazi <ghazi@snafu.rutgers.edu> | 1999-05-12 17:04:30 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 1999-05-12 17:04:30 +0000 |
commit | b4b63e32e6e0d8b8d499faf44c8de91231d26ec8 (patch) | |
tree | 70715ebcac70670659d707679cdd0ba84cbf5d91 /gcc/java/expr.c | |
parent | 34ba56fa810df1980ccdfcf300cd7ab620d34b90 (diff) | |
download | gcc-b4b63e32e6e0d8b8d499faf44c8de91231d26ec8.zip gcc-b4b63e32e6e0d8b8d499faf44c8de91231d26ec8.tar.gz gcc-b4b63e32e6e0d8b8d499faf44c8de91231d26ec8.tar.bz2 |
expr.c (expand_invoke): Mark parameter `nargs' with ATTRIBUTE_UNUSED.
* expr.c (expand_invoke): Mark parameter `nargs' with
ATTRIBUTE_UNUSED.
(PRE_LOOKUP_SWITCH): Likewise for variable `match'.
* jcf-io.c (jcf_unexpected_eof): Mark parameter `count' with
ATTRIBUTE_UNUSED.
* jcf-reader.c (get_attribute): Cast a value to long
when comparing against a signed expression. Likewise.
From-SVN: r26907
Diffstat (limited to 'gcc/java/expr.c')
-rw-r--r-- | gcc/java/expr.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/java/expr.c b/gcc/java/expr.c index d6e51a1..d975c42 100644 --- a/gcc/java/expr.c +++ b/gcc/java/expr.c @@ -1565,7 +1565,7 @@ static void expand_invoke (opcode, method_ref_index, nargs) int opcode; int method_ref_index; - int nargs; + int nargs ATTRIBUTE_UNUSED; { tree method_signature = COMPONENT_REF_SIGNATURE(¤t_jcf->cpool, method_ref_index); tree method_name = COMPONENT_REF_NAME (¤t_jcf->cpool, method_ref_index); @@ -2118,7 +2118,8 @@ expand_byte_code (jcf, method) NOTE_LABEL (default_offset+oldpc); \ if (npairs >= 0) \ while (--npairs >= 0) { \ - jint match = IMMEDIATE_s4; jint offset = IMMEDIATE_s4; \ + jint match ATTRIBUTE_UNUSED = IMMEDIATE_s4; \ + jint offset = IMMEDIATE_s4; \ NOTE_LABEL (offset+oldpc); } \ } |