summaryrefslogtreecommitdiffstats
path: root/gcc
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2001-03-10 01:37:39 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2001-03-10 01:37:39 +0000
commit0b5df91cc4ab558f8920373c4ec63ed72d28b1f3 (patch)
treedd243bbdb58863411ad5db269dcbc8bb01139149 /gcc
parent6be56288fb3e6f817f93c13c818a552c55f8af0c (diff)
downloadppe42-gcc-0b5df91cc4ab558f8920373c4ec63ed72d28b1f3.tar.gz
ppe42-gcc-0b5df91cc4ab558f8920373c4ec63ed72d28b1f3.zip
* pa.md (builtin_longjmp): Rework slightly to work for PA64 too.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40359 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/pa/pa.md6
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 467cfd18e6a..3dc3ebda21f 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 9143a6bc6cb..514b7f1dff9 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. */
OpenPOWER on IntegriCloud