From: Andreas Krebbel Date: Mon, 3 Aug 2009 09:18:28 +0000 (+0000) Subject: explow.c (promote_mode): Mark TYPE and PUNSIGNEDP as possibly unused. X-Git-Tag: releases/gcc-4.5.0~4202 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b168048349c90e838be894d16bdcf1c486c2e68f;p=thirdparty%2Fgcc.git explow.c (promote_mode): Mark TYPE and PUNSIGNEDP as possibly unused. 2009-08-03 Andreas Krebbel * explow.c (promote_mode): Mark TYPE and PUNSIGNEDP as possibly unused. From-SVN: r150367 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 313893d9c27b..38b33435c82d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2009-08-03 Andreas Krebbel + + * explow.c (promote_mode): Mark TYPE and PUNSIGNEDP as + possibly unused. + 2009-08-02 John David Anglin * pa.c (pa_promote_function_mode): Remove ATTRIBUTE_UNUSED from diff --git a/gcc/explow.c b/gcc/explow.c index 32397bcbbf9c..5176d1f918f7 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