Commit c9850009 by Jeff Law Committed by Jeff Law

vax.h (REGNO_REG_CLASS): Access the REGNO argument.

	* config/vax/vax.h (REGNO_REG_CLASS): Access the REGNO argument.
	* config/spu/spu.h (REGNO_REG_CLASS): Likewise.

From-SVN: r241675
parent fde1c2de
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.
......@@ -205,7 +205,8 @@ enum reg_class {
{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
......
......@@ -226,7 +226,7 @@ enum reg_class { NO_REGS, ALL_REGS, LIM_REG_CLASSES };
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. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment