summaryrefslogtreecommitdiff
path: root/gcc/emit-rtl.c
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-04-27 19:58:00 -0700
committerYamaArashi <shadow962@live.com>2016-04-27 19:58:00 -0700
commit981039a7fc49438e74ecaa880fd54cb85431e6ce (patch)
treeae09fe7e46843a63d690bef20ee28600aeeb6fb1 /gcc/emit-rtl.c
parent4f3e13d6663d4865437a18b98078c23713454613 (diff)
ARG_POINTER_REGNUM / FRAME_POINTER_REGNUM comparisons
Diffstat (limited to 'gcc/emit-rtl.c')
-rwxr-xr-xgcc/emit-rtl.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c
index 33badc7..37c8a5b 100755
--- a/gcc/emit-rtl.c
+++ b/gcc/emit-rtl.c
@@ -678,9 +678,7 @@ gen_lowpart_common (mode, x)
/* We want to keep the stack, frame, and arg pointers
special. */
&& x != frame_pointer_rtx
-#if FRAME_POINTER_REGNUM != ARG_POINTER_REGNUM
&& x != arg_pointer_rtx
-#endif
&& x != stack_pointer_rtx)
return gen_rtx_REG (mode, REGNO (x) + word);
else
@@ -987,9 +985,7 @@ gen_highpart (mode, x)
|| ! rtx_equal_function_value_matters)
/* We want to keep the stack, frame, and arg pointers special. */
&& x != frame_pointer_rtx
-#if FRAME_POINTER_REGNUM != ARG_POINTER_REGNUM
&& x != arg_pointer_rtx
-#endif
&& x != stack_pointer_rtx)
return gen_rtx_REG (mode, REGNO (x) + word);
else
@@ -1078,9 +1074,7 @@ operand_subword (op, i, validate_address, mode)
/* We want to keep the stack, frame, and arg pointers
special. */
|| op == frame_pointer_rtx
-#if FRAME_POINTER_REGNUM != ARG_POINTER_REGNUM
|| op == arg_pointer_rtx
-#endif
|| op == stack_pointer_rtx)
return gen_rtx_SUBREG (word_mode, op, i);
else