diff options
author | dje <dje@138bc75d-0d04-0410-961f-82ee72b054a4> | 1993-09-24 19:39:56 +0000 |
---|---|---|
committer | dje <dje@138bc75d-0d04-0410-961f-82ee72b054a4> | 1993-09-24 19:39:56 +0000 |
commit | 8fc3ed54d33839725ed1f50a89b3354ec48a74c2 (patch) | |
tree | d06461c242d41cf16c9541805f505c6173d4e2b8 /gcc/explow.c | |
parent | 90c25824ac63d8b1040c8ac309fd31c1477e59bd (diff) | |
download | gcc-8fc3ed54d33839725ed1f50a89b3354ec48a74c2.tar.gz |
* explow.c: (copy_all_regs): Don't copy HARD_FRAME_POINTER_REGNUM.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5454 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/explow.c')
-rw-r--r-- | gcc/explow.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/explow.c b/gcc/explow.c index f13129fa034..f8d47517015 100644 --- a/gcc/explow.c +++ b/gcc/explow.c @@ -304,7 +304,11 @@ copy_all_regs (x) { if (GET_CODE (x) == REG) { - if (REGNO (x) != FRAME_POINTER_REGNUM) + if (REGNO (x) != FRAME_POINTER_REGNUM +#if HARD_FRAME_POINTER_REGNUM != FRAME_POINTER_REGNUM + && REGNO (x) != HARD_FRAME_POINTER_REGNUM +#endif + ) x = copy_to_reg (x); } else if (GET_CODE (x) == MEM) |