aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAndreas Krebbel <krebbel1@de.ibm.com>2009-08-03 09:18:28 +0000
committerAndreas Krebbel <krebbel@gcc.gnu.org>2009-08-03 09:18:28 +0000
commitb168048349c90e838be894d16bdcf1c486c2e68f (patch)
tree09532b7cd699a87d0e8e6567a8bedcd068ff7c9b /gcc
parent16bc018cb86eea25760424b7e0500822cfaa39d7 (diff)
downloadgcc-b168048349c90e838be894d16bdcf1c486c2e68f.zip
gcc-b168048349c90e838be894d16bdcf1c486c2e68f.tar.gz
gcc-b168048349c90e838be894d16bdcf1c486c2e68f.tar.bz2
explow.c (promote_mode): Mark TYPE and PUNSIGNEDP as possibly unused.
2009-08-03 Andreas Krebbel <krebbel1@de.ibm.com> * explow.c (promote_mode): Mark TYPE and PUNSIGNEDP as possibly unused. From-SVN: r150367
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/explow.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 313893d..38b3343 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/explow.c b/gcc/explow.c
index 32397bcb..5176d1f 100644
--- a/gcc/explow.c
+++ b/gcc/explow.c
@@ -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