From: Jeffrey A Law Date: Sat, 10 Mar 2001 01:37:39 +0000 (+0000) Subject: * pa.md (builtin_longjmp): Rework slightly to work for PA64 too. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0eac29848b3a5bee12b6f8ae6c64c82a9c0f61b1;p=gcc.git * pa.md (builtin_longjmp): Rework slightly to work for PA64 too. From-SVN: r40359 --- 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 * 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. */