diff options
author | Jeffrey A Law <law@cygnus.com> | 2001-03-10 01:37:39 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2001-03-09 18:37:39 -0700 |
commit | 0eac29848b3a5bee12b6f8ae6c64c82a9c0f61b1 (patch) | |
tree | dd243bbdb58863411ad5db269dcbc8bb01139149 /gcc | |
parent | 0e061da69187b6f2eb49e8513ee380dc3295f94a (diff) | |
download | gcc-0eac29848b3a5bee12b6f8ae6c64c82a9c0f61b1.zip gcc-0eac29848b3a5bee12b6f8ae6c64c82a9c0f61b1.tar.gz gcc-0eac29848b3a5bee12b6f8ae6c64c82a9c0f61b1.tar.bz2 |
* pa.md (builtin_longjmp): Rework slightly to work for PA64 too.
From-SVN: r40359
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/pa/pa.md | 6 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 467cfd1..3dc3ebd 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Fri Mar 9 18:39:19 2001 Jeffrey A Law (law@cygnus.com) + + * pa.md (builtin_longjmp): Rework slightly to work for PA64 too. + 2001-03-09 Nicola Pero <n.pero@mi.flashnet.it> * configure: Rebuilt. diff --git a/gcc/config/pa/pa.md b/gcc/config/pa/pa.md index 9143a6b..514b7f1 100644 --- a/gcc/config/pa/pa.md +++ b/gcc/config/pa/pa.md @@ -6246,8 +6246,10 @@ { /* The elements of the buffer are, in order: */ rtx fp = gen_rtx_MEM (Pmode, operands[0]); - rtx lab = gen_rtx_MEM (Pmode, plus_constant (operands[0], 4)); - rtx stack = gen_rtx_MEM (Pmode, plus_constant (operands[0], 8)); + rtx lab = gen_rtx_MEM (Pmode, plus_constant (operands[0], + POINTER_SIZE / BITS_PER_UNIT)); + rtx stack = gen_rtx_MEM (Pmode, plus_constant (operands[0], + (POINTER_SIZE * 2) / BITS_PER_UNIT)); rtx pv = gen_rtx_REG (Pmode, 1); /* This bit is the same as expand_builtin_longjmp. */ |