]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
explow.c (promote_mode): Mark TYPE and PUNSIGNEDP as possibly unused.
authorAndreas Krebbel <krebbel1@de.ibm.com>
Mon, 3 Aug 2009 09:18:28 +0000 (09:18 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Mon, 3 Aug 2009 09:18:28 +0000 (09:18 +0000)
2009-08-03  Andreas Krebbel  <krebbel1@de.ibm.com>

* explow.c (promote_mode): Mark TYPE and PUNSIGNEDP as
          possibly unused.

From-SVN: r150367

gcc/ChangeLog
gcc/explow.c

index 313893d9c27bc5c4770a2c4a142976a992acbf05..38b33435c82de833db26690140c6411623662266 100644 (file)
@@ -1,3 +1,8 @@
+2009-08-03  Andreas Krebbel  <krebbel1@de.ibm.com>
+
+       * explow.c (promote_mode): Mark TYPE and PUNSIGNEDP as
+          possibly unused.
+
 2009-08-02  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
 
        * pa.c (pa_promote_function_mode): Remove ATTRIBUTE_UNUSED from
index 32397bcbbf9c2800c099402258582b347fcd5ca9..5176d1f918f79dbeb2216d33ccd770cf474174f8 100644 (file)
@@ -777,7 +777,8 @@ promote_function_mode (const_tree type, enum machine_mode mode, int *punsignedp,
    to show what signedness to use on extension operations.  */
 
 enum machine_mode
-promote_mode (const_tree type, enum machine_mode mode, int *punsignedp)
+promote_mode (const_tree type ATTRIBUTE_UNUSED, enum machine_mode mode,
+             int *punsignedp ATTRIBUTE_UNUSED)
 {
   /* FIXME: this is the same logic that was there until GCC 4.4, but we
      probably want to test POINTERS_EXTEND_UNSIGNED even if PROMOTE_MODE