* config/vax/vax.h (REGNO_REG_CLASS): Access the REGNO argument.
* config/spu/spu.h (REGNO_REG_CLASS): Likewise.
From-SVN: r241675
+2016-10-28 Jeff Law <law@redhat.com>
+
+ * config/vax/vax.h (REGNO_REG_CLASS): Access the REGNO argument.
+ * config/spu/spu.h (REGNO_REG_CLASS): Likewise.
+
2016-10-28 Eric Botcazou <ebotcazou@adacore.com>
* doc/sourcebuild.texi (Ada Tests): Remove mention of gcc chapter.
{0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0x3}, /* general regs */ \
{0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0x3}} /* all regs */
-#define REGNO_REG_CLASS(REGNO) (GENERAL_REGS)
+#define REGNO_REG_CLASS(REGNO) ((void)(REGNO), GENERAL_REGS)
+
#define BASE_REG_CLASS GENERAL_REGS
reg number REGNO. This could be a conditional expression
or could index an array. */
-#define REGNO_REG_CLASS(REGNO) ALL_REGS
+#define REGNO_REG_CLASS(REGNO) ((void)(REGNO), ALL_REGS)
/* The class value for index registers, and the one for base regs. */