summaryrefslogtreecommitdiff
path: root/gcc/recog.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/recog.c')
-rw-r--r--gcc/recog.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gcc/recog.c b/gcc/recog.c
index 6d6135a5658..d7c95072400 100644
--- a/gcc/recog.c
+++ b/gcc/recog.c
@@ -1114,12 +1114,6 @@ immediate_operand (rtx op, enum machine_mode mode)
&& trunc_int_for_mode (INTVAL (op), mode) != INTVAL (op))
return 0;
- /* Accept CONSTANT_P_RTX, since it will be gone by CSE1 and
- result in 0/1. It seems a safe assumption that this is
- in range for everyone. */
- if (GET_CODE (op) == CONSTANT_P_RTX)
- return 1;
-
return (CONSTANT_P (op)
&& (GET_MODE (op) == mode || mode == VOIDmode
|| GET_MODE (op) == VOIDmode)