var-tracking.c (prepare_call_arguments): Add ATTRIBUTE_UNUSED to nargs.
authorJakub Jelinek <jakub@redhat.com>
Wed, 16 Mar 2011 10:23:14 +0000 (11:23 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 16 Mar 2011 10:23:14 +0000 (11:23 +0100)
* var-tracking.c (prepare_call_arguments): Add ATTRIBUTE_UNUSED
to nargs.

From-SVN: r171040

gcc/ChangeLog
gcc/var-tracking.c

index 351c745608f932bf5b7f7a3e3a73ed9503477280..34d3d9434301278ea3ebe6e8e5b0cfb919fface4 100644 (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
index ee180f13f622d95404705cbc1e73719780af716e..266f11fe46c3e4b2779361a88b52b32bdc246e7b 100644 (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)