From 6d6b5cd7b01268cf7b68bfede05166e1e1556355 Mon Sep 17 00:00:00 2001 From: David Billinghurst Date: Tue, 5 Mar 2002 05:16:15 +0000 Subject: [PATCH] builtins.c (cos_builtin): method_return_type ATTRIBUTE_UNUSED 2002-03-05 David Billinghurst * builtins.c(cos_builtin): method_return_type ATTRIBUTE_UNUSED * builtins.c(sin_builtin): Likewise * builtins.c(sqrt_builtin): Likewise From-SVN: r50304 --- gcc/java/ChangeLog | 6 ++++++ gcc/java/builtins.c | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index b1b01b98b07..0f110e49e36 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,9 @@ +2002-03-05 David Billinghurst + + * builtins.c(cos_builtin): method_return_type ATTRIBUTE_UNUSED + * builtins.c(sin_builtin): Likewise + * builtins.c(sqrt_builtin): Likewise + 2002-03-03 Zack Weinberg * java/expr.c, java/jcf-parse.c, java/lex.c: diff --git a/gcc/java/builtins.c b/gcc/java/builtins.c index 832e6435aa6..7db228cf2c7 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]; -- 2.30.2