summaryrefslogtreecommitdiff
path: root/gcc/loop.c
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-02-15 03:21:26 -0800
committerYamaArashi <shadow962@live.com>2016-02-15 03:21:26 -0800
commitdae4baf0b704d1b566bbff41774f220b00bf365b (patch)
tree690def17e9d822f5d62f0d8dbbc266202bce8e01 /gcc/loop.c
parentffa585754d6f1cc8eae38ae213b1b1dc6a74d7d3 (diff)
clean up more reg ifdefs
Diffstat (limited to 'gcc/loop.c')
-rwxr-xr-xgcc/loop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/loop.c b/gcc/loop.c
index 4f97a96..eb37e74 100755
--- a/gcc/loop.c
+++ b/gcc/loop.c
@@ -3197,7 +3197,7 @@ invariant_p (x)
/* We used to check RTX_UNCHANGING_P (x) here, but that is invalid
since the reg might be set by initialization within the loop. */
- if ((x == frame_pointer_rtx || x == hard_frame_pointer_rtx
+ if ((x == frame_pointer_rtx
|| x == arg_pointer_rtx)
&& ! current_function_has_nonlocal_goto)
return 1;