aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/sh/sh.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/sh/sh.h')
-rw-r--r--gcc/config/sh/sh.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/gcc/config/sh/sh.h b/gcc/config/sh/sh.h
index 1c0db4b535f..2eb0a2276cb 100644
--- a/gcc/config/sh/sh.h
+++ b/gcc/config/sh/sh.h
@@ -2496,18 +2496,6 @@ struct sh_args {
goto LABEL; \
} \
} \
- /* When reload in progress, find_reloads_subreg_address tries to \
- make a new reload for some types of address. Unfortunately it \
- generates wrong code on SH. See PR36780. The following is to \
- avoid this issue. */ \
- if (!TARGET_SHMEDIA && reload_in_progress \
- && GET_CODE (X) == PLUS \
- && (GET_MODE_SIZE (MODE) == 4 || GET_MODE_SIZE (MODE) == 8) \
- && GET_CODE (XEXP ((X), 0)) == PLUS \
- && GET_CODE (XEXP (XEXP ((X), 0), 1)) == CONST_INT \
- && BASE_REGISTER_RTX_P (XEXP (XEXP ((X), 0), 0)) \
- && GET_CODE (XEXP ((X), 1)) == CONST_INT) \
- goto LABEL; \
}
/* Try machine-dependent ways of modifying an illegitimate address