From: Jan-Benedict Glaw Date: Thu, 4 Sep 2014 13:22:53 +0000 (+0000) Subject: rx.h (HARD_REGNO_MODE_OK): Add braces. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=aad038845a6891536e461eed33030dbd873abf58;p=gcc.git 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 --- 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 \