var-tracking.c (prepare_call_arguments): Add ATTRIBUTE_UNUSED to nargs.

* var-tracking.c (prepare_call_arguments): Add ATTRIBUTE_UNUSED
	to nargs.

From-SVN: r171040
This commit is contained in:
Jakub Jelinek 2011-03-16 11:23:14 +01:00 committed by Jakub Jelinek
parent 55b465747a
commit e42348b8cd
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2011-03-16 Jakub Jelinek <jakub@redhat.com>
* var-tracking.c (prepare_call_arguments): Add ATTRIBUTE_UNUSED
to nargs.
2011-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
PR lto/46944

View File

@ -5620,7 +5620,7 @@ prepare_call_arguments (basic_block bb, rtx insn)
type = NULL;
else
{
int nargs = list_length (TYPE_ARG_TYPES (type));
int nargs ATTRIBUTE_UNUSED = list_length (TYPE_ARG_TYPES (type));
link = CALL_INSN_FUNCTION_USAGE (insn);
#ifndef PCC_STATIC_STRUCT_RETURN
if (aggregate_value_p (TREE_TYPE (type), type)