Commit 2b256a46 by John David Anglin Committed by John David Anglin

function.c (assign_parms): Add ATTRIBUTE_UNUSED to variable reg_parm_stack_space.

	* function.c (assign_parms): Add ATTRIBUTE_UNUSED to variable
	reg_parm_stack_space.
	* toplev.c (default_get_pch_validity): Fix warning.

From-SVN: r73168
parent 72f03fde
2003-10-31 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> 2003-10-31 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* function.c (assign_parms): Add ATTRIBUTE_UNUSED to variable
reg_parm_stack_space.
* toplev.c (default_get_pch_validity): Fix warning.
* vax.c: Include toplev.h. * vax.c: Include toplev.h.
(vax_init_libfuncs): Fix typo (umod). (vax_init_libfuncs): Fix typo (umod).
* vax.h (ASM_COMMENT_START): Define. * vax.h (ASM_COMMENT_START): Define.
......
...@@ -4259,7 +4259,7 @@ assign_parms (tree fndecl) ...@@ -4259,7 +4259,7 @@ assign_parms (tree fndecl)
the function returns a structure. */ the function returns a structure. */
tree function_result_decl = 0; tree function_result_decl = 0;
int varargs_setup = 0; int varargs_setup = 0;
int reg_parm_stack_space = 0; int reg_parm_stack_space ATTRIBUTE_UNUSED = 0;
rtx conversion_insns = 0; rtx conversion_insns = 0;
/* Nonzero if function takes extra anonymous args. /* Nonzero if function takes extra anonymous args.
......
...@@ -4106,7 +4106,9 @@ init_asm_output (const char *name) ...@@ -4106,7 +4106,9 @@ init_asm_output (const char *name)
void * void *
default_get_pch_validity (size_t *len) default_get_pch_validity (size_t *len)
{ {
#ifdef TARGET_OPTIONS
size_t i; size_t i;
#endif
char *result, *r; char *result, *r;
*len = sizeof (target_flags) + 2; *len = sizeof (target_flags) + 2;
......
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