diff options
Diffstat (limited to 'gcc/config/m32c')
| -rw-r--r-- | gcc/config/m32c/m32c-protos.h | 1 | ||||
| -rw-r--r-- | gcc/config/m32c/m32c.c | 9 | ||||
| -rw-r--r-- | gcc/config/m32c/m32c.h | 4 |
3 files changed, 1 insertions, 13 deletions
diff --git a/gcc/config/m32c/m32c-protos.h b/gcc/config/m32c/m32c-protos.h index 06bd0070ac3..4b3ead37c3e 100644 --- a/gcc/config/m32c/m32c-protos.h +++ b/gcc/config/m32c/m32c-protos.h @@ -84,7 +84,6 @@ int m32c_legitimize_reload_address (rtx *, MM, int, int, int); rtx m32c_libcall_value (MM); int m32c_limit_reload_class (MM, int); int m32c_memory_move_cost (MM, int, int); -int m32c_mode_dependent_address (rtx); int m32c_modes_tieable_p (MM, MM); bool m32c_mov_ok (rtx *, MM); char * m32c_output_compare (rtx, rtx *); diff --git a/gcc/config/m32c/m32c.c b/gcc/config/m32c/m32c.c index dcfbe6ebafc..de5f22aa6db 100644 --- a/gcc/config/m32c/m32c.c +++ b/gcc/config/m32c/m32c.c @@ -2018,15 +2018,6 @@ m32c_legitimize_reload_address (rtx * x, return 0; } -/* Used in GO_IF_MODE_DEPENDENT_ADDRESS. */ -int -m32c_mode_dependent_address (rtx addr) -{ - if (GET_CODE (addr) == POST_INC || GET_CODE (addr) == PRE_DEC) - return 1; - return 0; -} - /* Implements LEGITIMATE_CONSTANT_P. We split large constants anyway, so we can allow anything. */ int diff --git a/gcc/config/m32c/m32c.h b/gcc/config/m32c/m32c.h index 1b1d357c2b7..10554644067 100644 --- a/gcc/config/m32c/m32c.h +++ b/gcc/config/m32c/m32c.h @@ -568,9 +568,7 @@ typedef struct m32c_cumulative_args if (m32c_legitimize_reload_address(&(X),MODE,OPNUM,TYPE,IND_LEVELS)) \ goto win; -#define GO_IF_MODE_DEPENDENT_ADDRESS(ADDR,LABEL) \ - if (m32c_mode_dependent_address (ADDR)) \ - goto LABEL; +#define GO_IF_MODE_DEPENDENT_ADDRESS(ADDR,LABEL) #define LEGITIMATE_CONSTANT_P(X) m32c_legitimate_constant_p (X) |

