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
This commit is contained in:
John David Anglin 2003-11-01 02:23:44 +00:00 committed by John David Anglin
parent 72f03fdeb8
commit 2b256a4627
3 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,9 @@
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_init_libfuncs): Fix typo (umod).
* vax.h (ASM_COMMENT_START): Define.

View File

@ -4259,7 +4259,7 @@ assign_parms (tree fndecl)
the function returns a structure. */
tree function_result_decl = 0;
int varargs_setup = 0;
int reg_parm_stack_space = 0;
int reg_parm_stack_space ATTRIBUTE_UNUSED = 0;
rtx conversion_insns = 0;
/* Nonzero if function takes extra anonymous args.

View File

@ -4106,7 +4106,9 @@ init_asm_output (const char *name)
void *
default_get_pch_validity (size_t *len)
{
#ifdef TARGET_OPTIONS
size_t i;
#endif
char *result, *r;
*len = sizeof (target_flags) + 2;