aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/java/ChangeLog6
-rw-r--r--gcc/java/builtins.c6
2 files changed, 9 insertions, 3 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog
index b1b01b9..0f110e4 100644
--- a/gcc/java/ChangeLog
+++ b/gcc/java/ChangeLog
@@ -1,3 +1,9 @@
+2002-03-05 David Billinghurst <David.Billinghurst@riotinto.com>
+
+ * builtins.c(cos_builtin): method_return_type ATTRIBUTE_UNUSED
+ * builtins.c(sin_builtin): Likewise
+ * builtins.c(sqrt_builtin): Likewise
+
2002-03-03 Zack Weinberg <zack@codesourcery.com>
* java/expr.c, java/jcf-parse.c, java/lex.c:
diff --git a/gcc/java/builtins.c b/gcc/java/builtins.c
index 832e643..7db228c 100644
--- a/gcc/java/builtins.c
+++ b/gcc/java/builtins.c
@@ -156,7 +156,7 @@ build_function_call_expr (tree fn, tree arglist)
static tree
cos_builtin (method_return_type, method_arguments)
- tree method_return_type, method_arguments;
+ tree method_return_type ATTRIBUTE_UNUSED, method_arguments;
{
/* FIXME: this assumes that jdouble and double are the same. */
tree fn = built_in_decls[BUILT_IN_COS];
@@ -167,7 +167,7 @@ cos_builtin (method_return_type, method_arguments)
static tree
sin_builtin (method_return_type, method_arguments)
- tree method_return_type, method_arguments;
+ tree method_return_type ATTRIBUTE_UNUSED, method_arguments;
{
/* FIXME: this assumes that jdouble and double are the same. */
tree fn = built_in_decls[BUILT_IN_SIN];
@@ -178,7 +178,7 @@ sin_builtin (method_return_type, method_arguments)
static tree
sqrt_builtin (method_return_type, method_arguments)
- tree method_return_type, method_arguments;
+ tree method_return_type ATTRIBUTE_UNUSED, method_arguments;
{
/* FIXME: this assumes that jdouble and double are the same. */
tree fn = built_in_decls[BUILT_IN_SQRT];