From aad038845a6891536e461eed33030dbd873abf58 Mon Sep 17 00:00:00 2001 From: Jan-Benedict Glaw Date: Thu, 4 Sep 2014 13:22:53 +0000 Subject: [PATCH] rx.h (HARD_REGNO_MODE_OK): Add braces. 2014-09-04 Jan-Benedict Glaw * config/rx/rx.h (HARD_REGNO_MODE_OK): Add braces. From-SVN: r214901 --- gcc/ChangeLog | 4 ++++ gcc/config/rx/rx.h | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 90af3d4c7d8..d341bff6e98 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2014-09-04 Jan-Benedict Glaw + + * config/rx/rx.h (HARD_REGNO_MODE_OK): Add braces. + 2014-09-04 Alan Modra PR debug/60655 diff --git a/gcc/config/rx/rx.h b/gcc/config/rx/rx.h index 8f3d92bdabf..64d96d171f3 100644 --- a/gcc/config/rx/rx.h +++ b/gcc/config/rx/rx.h @@ -334,8 +334,8 @@ typedef unsigned int CUMULATIVE_ARGS; #define HARD_REGNO_NREGS(REGNO, MODE) CLASS_MAX_NREGS (0, MODE) -#define HARD_REGNO_MODE_OK(REGNO, MODE) \ - REGNO_REG_CLASS (REGNO) == GR_REGS +#define HARD_REGNO_MODE_OK(REGNO, MODE) \ + (REGNO_REG_CLASS (REGNO) == GR_REGS) #define MODES_TIEABLE_P(MODE1, MODE2) \ ( ( GET_MODE_CLASS (MODE1) == MODE_FLOAT \ -- 2.30.2