diff options
-rw-r--r-- | gcc/config/arm/arm.h | 2 | ||||
-rw-r--r-- | gcc/config/fx80/fx80.h | 2 | ||||
-rw-r--r-- | gcc/config/gmicro/gmicro.h | 2 | ||||
-rw-r--r-- | gcc/config/spur/spur.h | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h index d54aef8..b6fad6c 100644 --- a/gcc/config/arm/arm.h +++ b/gcc/config/arm/arm.h @@ -891,7 +891,7 @@ do \ /* The relative costs of various types of constants. Note that cse.c defines REG = 1, SUBREG = 2, any node = (2 + sum of subnodes). */ -#define CONST_COSTS(RTX, CODE) \ +#define CONST_COSTS(RTX, CODE, OUTER_CODE) \ case CONST_INT: \ if (const_ok_for_arm (INTVAL (RTX))) \ return (2); \ diff --git a/gcc/config/fx80/fx80.h b/gcc/config/fx80/fx80.h index 80839f3..01f738d 100644 --- a/gcc/config/fx80/fx80.h +++ b/gcc/config/fx80/fx80.h @@ -870,7 +870,7 @@ extern enum reg_class regno_reg_class[]; of a switch statement. If the code is computed here, return it with a return statement. Otherwise, break from the switch. */ -#define CONST_COSTS(RTX,CODE) \ +#define CONST_COSTS(RTX,CODE,OUTER_CODE) \ case CONST_INT: \ /* Constant zero is super cheap due to clr instruction. */ \ if (RTX == const0_rtx) return 0; \ diff --git a/gcc/config/gmicro/gmicro.h b/gcc/config/gmicro/gmicro.h index 24c4f50..b726246 100644 --- a/gcc/config/gmicro/gmicro.h +++ b/gcc/config/gmicro/gmicro.h @@ -1177,7 +1177,7 @@ extern enum reg_class regno_reg_class[]; of a switch statement. If the code is computed here, return it with a return statement. Otherwise, break from the switch. */ -#define CONST_COSTS(RTX,CODE) \ +#define CONST_COSTS(RTX,CODE,OUTER_CODE) \ case CONST_INT: \ if ((unsigned) INTVAL (RTX) < 8) return 0; \ if ((unsigned) (INTVAL (RTX) + 0x80) < 0x100) return 1; \ diff --git a/gcc/config/spur/spur.h b/gcc/config/spur/spur.h index bf6d347..49fbb7c 100644 --- a/gcc/config/spur/spur.h +++ b/gcc/config/spur/spur.h @@ -774,7 +774,7 @@ extern int current_function_pretend_args_size; of a switch statement. If the code is computed here, return it with a return statement. Otherwise, break from the switch. */ -#define CONST_COSTS(RTX,CODE) \ +#define CONST_COSTS(RTX,CODE,OUTER_CODE) \ case CONST_INT: \ if (INTVAL (RTX) < 0x2000 && INTVAL (RTX) >= -0x2000) return 1; \ case CONST: \ |