aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
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