diff options
author | Steve Ellcey <sje@cup.hp.com> | 2010-04-12 16:04:42 +0000 |
---|---|---|
committer | Steve Ellcey <sje@gcc.gnu.org> | 2010-04-12 16:04:42 +0000 |
commit | fc2f1f53441f8af3868e7c05c3b5a23007eeb2c1 (patch) | |
tree | f0aa32a1947862eaae2cddee73708469207d8b44 /gcc | |
parent | 913a7b5ab2e838acc4284d341173f6a001b84881 (diff) | |
download | gcc-fc2f1f53441f8af3868e7c05c3b5a23007eeb2c1.zip gcc-fc2f1f53441f8af3868e7c05c3b5a23007eeb2c1.tar.gz gcc-fc2f1f53441f8af3868e7c05c3b5a23007eeb2c1.tar.bz2 |
function.c (assign_parms_initialize_all): Add unused attribute to fntype.
2010-04-12 Steve Ellcey <sje@cup.hp.com>
* function.c (assign_parms_initialize_all): Add unused attribute
to fntype.
From-SVN: r158228
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/function.c | 2 |
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)); |