aboutsummaryrefslogtreecommitdiff
path: root/gcc/alias.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@cygnus.com>1997-10-26 10:48:31 -0800
committerJeff Law <law@gcc.gnu.org>1997-10-26 11:48:31 -0700
commit962867229aa0ebb3d8b83ba20b25f47cba491ad7 (patch)
tree29fc6eb377e363c8e947103117ae80d7715c40ec /gcc/alias.c
parent361e618f2534e872d7ec4c35435b18423daadc8b (diff)
downloadgcc-962867229aa0ebb3d8b83ba20b25f47cba491ad7.zip
gcc-962867229aa0ebb3d8b83ba20b25f47cba491ad7.tar.gz
gcc-962867229aa0ebb3d8b83ba20b25f47cba491ad7.tar.bz2
alias.c (memrefs_conflict_p): Treat arg_pointer_rtx just like stack_pointer_rtx.
* alias.c (memrefs_conflict_p): Treat arg_pointer_rtx just like stack_pointer_rtx. From-SVN: r16188
Diffstat (limited to 'gcc/alias.c')
-rw-r--r--gcc/alias.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/alias.c b/gcc/alias.c
index 07f98e6..3d9dbe4 100644
--- a/gcc/alias.c
+++ b/gcc/alias.c
@@ -622,7 +622,7 @@ memrefs_conflict_p (xsize, x, ysize, y, c)
}
if (y == frame_pointer_rtx || y == hard_frame_pointer_rtx
- || y == stack_pointer_rtx)
+ || y == stack_pointer_rtx || y == arg_pointer_rtx)
{
rtx t = y;
int tsize = ysize;
@@ -631,7 +631,7 @@ memrefs_conflict_p (xsize, x, ysize, y, c)
}
if (x == frame_pointer_rtx || x == hard_frame_pointer_rtx
- || x == stack_pointer_rtx)
+ || x == stack_pointer_rtx || x == arg_pointer_rtx)
{
rtx y1;