Commit 6d6b5cd7 by David Billinghurst Committed by David Billinghurst

builtins.c (cos_builtin): method_return_type ATTRIBUTE_UNUSED

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

From-SVN: r50304
parent 28bcfd4d
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> 2002-03-03 Zack Weinberg <zack@codesourcery.com>
* java/expr.c, java/jcf-parse.c, java/lex.c: * java/expr.c, java/jcf-parse.c, java/lex.c:
......
...@@ -156,7 +156,7 @@ build_function_call_expr (tree fn, tree arglist) ...@@ -156,7 +156,7 @@ build_function_call_expr (tree fn, tree arglist)
static tree static tree
cos_builtin (method_return_type, method_arguments) 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. */ /* FIXME: this assumes that jdouble and double are the same. */
tree fn = built_in_decls[BUILT_IN_COS]; tree fn = built_in_decls[BUILT_IN_COS];
...@@ -167,7 +167,7 @@ cos_builtin (method_return_type, method_arguments) ...@@ -167,7 +167,7 @@ cos_builtin (method_return_type, method_arguments)
static tree static tree
sin_builtin (method_return_type, method_arguments) 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. */ /* FIXME: this assumes that jdouble and double are the same. */
tree fn = built_in_decls[BUILT_IN_SIN]; tree fn = built_in_decls[BUILT_IN_SIN];
...@@ -178,7 +178,7 @@ sin_builtin (method_return_type, method_arguments) ...@@ -178,7 +178,7 @@ sin_builtin (method_return_type, method_arguments)
static tree static tree
sqrt_builtin (method_return_type, method_arguments) 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. */ /* FIXME: this assumes that jdouble and double are the same. */
tree fn = built_in_decls[BUILT_IN_SQRT]; tree fn = built_in_decls[BUILT_IN_SQRT];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment