From 0f9b95dfc735af9e5f63bf0acdd6d6fa7fecefb6 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 23 Apr 2015 13:41:48 +0000 Subject: [PATCH] rl78.c (rl78_preferred_reload_class): Add ATTRIBUTE_UNUSED to x parameter. * config/rl78/rl78.c (rl78_preferred_reload_class): Add ATTRIBUTE_UNUSED to x parameter. * config/rl78/rl78-opts.h (enum rl78_mul_types): Remove unused MUL_RL78. From-SVN: r222369 --- gcc/ChangeLog | 6 ++++++ gcc/config/rl78/rl78-opts.h | 1 - gcc/config/rl78/rl78.c | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a9b43c2c280..223ae3135c0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2015-04-23 Nick Clifton + + * config/rl78/rl78.c (rl78_preferred_reload_class): Add + ATTRIBUTE_UNUSED to x parameter. + * config/rl78/rl78-opts.h (enum rl78_mul_types): Remove unused MUL_RL78. + 2015-04-23 Bill Schmidt * config/rs6000/crypto.md (crypto_vpmsum): Change diff --git a/gcc/config/rl78/rl78-opts.h b/gcc/config/rl78/rl78-opts.h index 6fa54cc1143..826a1734555 100644 --- a/gcc/config/rl78/rl78-opts.h +++ b/gcc/config/rl78/rl78-opts.h @@ -23,7 +23,6 @@ enum rl78_mul_types { MUL_NONE, - MUL_RL78, MUL_G13, MUL_G14, MUL_UNINIT diff --git a/gcc/config/rl78/rl78.c b/gcc/config/rl78/rl78.c index 64698045e8a..6489807be51 100644 --- a/gcc/config/rl78/rl78.c +++ b/gcc/config/rl78/rl78.c @@ -4646,7 +4646,7 @@ rl78_flags_already_set (rtx op, rtx operand) #define TARGET_PREFERRED_RELOAD_CLASS rl78_preferred_reload_class static reg_class_t -rl78_preferred_reload_class (rtx x, reg_class_t rclass) +rl78_preferred_reload_class (rtx x ATTRIBUTE_UNUSED, reg_class_t rclass) { if (rclass == NO_REGS) rclass = V_REGS; -- 2.30.2