From: Kaz Kojima Date: Wed, 12 Aug 2009 22:23:49 +0000 (+0000) Subject: sh.c (sh_promote_function_mode): Add ATTRIBUTE_UNUSED. X-Git-Tag: releases/gcc-4.5.0~4052 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d8158ff1e284a02d73ccb9eb14c104a2821ee539;p=thirdparty%2Fgcc.git sh.c (sh_promote_function_mode): Add ATTRIBUTE_UNUSED. * config/sh/sh.c (sh_promote_function_mode): Add ATTRIBUTE_UNUSED. From-SVN: r150708 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a76a3727d5b5..33778f89c1ae 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2009-08-12 Kaz Kojima + + * config/sh/sh.c (sh_promote_function_mode): Add ATTRIBUTE_UNUSED. + 2009-08-12 Richard Guenther PR tree-optimization/41011 diff --git a/gcc/config/sh/sh.c b/gcc/config/sh/sh.c index 337be6b0df09..b092c0e8a3cb 100644 --- a/gcc/config/sh/sh.c +++ b/gcc/config/sh/sh.c @@ -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);