diff options
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 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. */ |