2
0
mirror of git://gcc.gnu.org/git/gcc.git synced 2025-03-21 23:51:18 +08:00

sh.c (sh_promote_function_mode): Add ATTRIBUTE_UNUSED.

* config/sh/sh.c (sh_promote_function_mode): Add ATTRIBUTE_UNUSED.

From-SVN: r150708
This commit is contained in:
Kaz Kojima 2009-08-12 22:23:49 +00:00
parent 5d32a15e3b
commit d8158ff1e2
2 changed files with 6 additions and 1 deletions
gcc
ChangeLog
config/sh

@ -1,3 +1,7 @@
2009-08-12 Kaz Kojima <kkojima@gcc.gnu.org>
* config/sh/sh.c (sh_promote_function_mode): Add ATTRIBUTE_UNUSED.
2009-08-12 Richard Guenther <rguenther@suse.de>
PR tree-optimization/41011

@ -7901,7 +7901,8 @@ sh_dwarf_register_span (rtx reg)
static enum machine_mode
sh_promote_function_mode (const_tree type, enum machine_mode mode,
int *punsignedp, const_tree funtype, int for_return)
int *punsignedp, const_tree funtype,
int for_return ATTRIBUTE_UNUSED)
{
if (sh_promote_prototypes (funtype))
return promote_mode (type, mode, punsignedp);