aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/function.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 136ffae..1496b85 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2010-04-12 Steve Ellcey <sje@cup.hp.com>
+
+ * function.c (assign_parms_initialize_all): Add unused attribute
+ to fntype.
+
2010-04-12 Richard Guenther <rguenther@suse.de>
* gsstruct.def (GSS_CALL): New.
diff --git a/gcc/function.c b/gcc/function.c
index 21cbb52..f78bc98 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -2066,7 +2066,7 @@ struct assign_parm_data_one
static void
assign_parms_initialize_all (struct assign_parm_data_all *all)
{
- tree fntype;
+ tree fntype ATTRIBUTE_UNUSED;
memset (all, 0, sizeof (*all));