From: wilson Date: Wed, 13 Apr 2005 00:50:34 +0000 (+0000) Subject: Fix problem with FP reg r29 being corrupted on stack unwind. X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2e6d08dda9e895243d6cce4b39cb5a34401351e7;p=thirdparty%2Fgcc.git Fix problem with FP reg r29 being corrupted on stack unwind. PR target/20670 * unwind-ia64.c (uw_intall_context): Add missing load of r27. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98061 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index bbc317e25273..63ce38a6ef13 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-04-12 James E. Wilson + + PR target/20670 + * unwind-ia64.c (uw_intall_context): Add missing load of r27. + 2005-04-12 Caroline Tice Temporary fix for partitioning problems. diff --git a/gcc/config/ia64/unwind-ia64.c b/gcc/config/ia64/unwind-ia64.c index 1a245ebfa899..3a45dc165462 100644 --- a/gcc/config/ia64/unwind-ia64.c +++ b/gcc/config/ia64/unwind-ia64.c @@ -2275,6 +2275,8 @@ uw_install_context (struct _Unwind_Context *current __attribute__((unused)), "(p6) ldf.fill f22 = [r28] \n\t" "cmp.ne p7, p0 = r0, r29 \n\t" ";; \n\t" + "ld8 r27 = [r20], 8 \n\t" + ";; \n\t" "ld8 r28 = [r20], 8 \n\t" "(p7) ldf.fill f23 = [r29] \n\t" "cmp.ne p6, p0 = r0, r22 \n\t"