]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
sh.c (sh_promote_function_mode): Add ATTRIBUTE_UNUSED.
authorKaz Kojima <kkojima@gcc.gnu.org>
Wed, 12 Aug 2009 22:23:49 +0000 (22:23 +0000)
committerKaz Kojima <kkojima@gcc.gnu.org>
Wed, 12 Aug 2009 22:23:49 +0000 (22:23 +0000)
* config/sh/sh.c (sh_promote_function_mode): Add ATTRIBUTE_UNUSED.

From-SVN: r150708

gcc/ChangeLog
gcc/config/sh/sh.c

index a76a3727d5b52f6a60e7ca288bd62bfae3cb7eaf..33778f89c1aed4b8a732cecbc1de656c9348d403 100644 (file)
@@ -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
index 337be6b0df0992110476c52f76c069854afef6af..b092c0e8a3cb8337c347256be82fbe41e8c6bb50 100644 (file)
@@ -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);