* config/sh/sh.c (sh_promote_function_mode): Add ATTRIBUTE_UNUSED.
From-SVN: r150708
+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
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);