aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2011-01-23 14:27:33 +0000
committerAndreas Schwab <schwab@gcc.gnu.org>2011-01-23 14:27:33 +0000
commit7fcaf152b608e3afc138f83fc06d230c4d83fa90 (patch)
treee0fd0493a516c14f90a1fbe2bdb1798789062686
parentaeb4e803dcbace03e94dca97764203c263e9aa38 (diff)
downloadgcc-7fcaf152b608e3afc138f83fc06d230c4d83fa90.zip
gcc-7fcaf152b608e3afc138f83fc06d230c4d83fa90.tar.gz
gcc-7fcaf152b608e3afc138f83fc06d230c4d83fa90.tar.bz2
compare-elim.c (maybe_select_cc_mode): Add ATTRIBUTE_UNUSED markers.
* compare-elim.c (maybe_select_cc_mode): Add ATTRIBUTE_UNUSED markers. From-SVN: r169143
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/compare-elim.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7923ba6..87ae1d4 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2011-01-23 Andreas Schwab <schwab@linux-m68k.org>
+
+ * compare-elim.c (maybe_select_cc_mode): Add ATTRIBUTE_UNUSED
+ markers.
+
2011-01-22 Jan Hubicka <jh@suse.cz>
PR lto/47333
diff --git a/gcc/compare-elim.c b/gcc/compare-elim.c
index 0ddeb7f..c3eecfa 100644
--- a/gcc/compare-elim.c
+++ b/gcc/compare-elim.c
@@ -404,7 +404,8 @@ find_comparisons (void)
Note that this function may start a change group. */
static rtx
-maybe_select_cc_mode (struct comparison *cmp, rtx a, rtx b)
+maybe_select_cc_mode (struct comparison *cmp, rtx a ATTRIBUTE_UNUSED,
+ rtx b ATTRIBUTE_UNUSED)
{
enum machine_mode sel_mode;
const int n = cmp->n_uses;