OSDN Git Service

Fix problem with FP reg r29 being corrupted on stack unwind.
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 13 Apr 2005 00:50:34 +0000 (00:50 +0000)
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 13 Apr 2005 00:50:34 +0000 (00:50 +0000)
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

gcc/ChangeLog
gcc/config/ia64/unwind-ia64.c

index bbc317e..63ce38a 100644 (file)
@@ -1,3 +1,8 @@
+2005-04-12  James E. Wilson  <wilson@specifixinc.com>
+
+       PR target/20670
+       * unwind-ia64.c (uw_intall_context): Add missing load of r27.
+
 2005-04-12  Caroline Tice  <ctice@apple.com>
 
        Temporary fix for partitioning problems.
 2005-04-12  Caroline Tice  <ctice@apple.com>
 
        Temporary fix for partitioning problems.
index 1a245eb..3a45dc1 100644 (file)
@@ -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"
        "(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"
        "ld8 r28 = [r20], 8                     \n\t"
        "(p7) ldf.fill f23 = [r29]              \n\t"
        "cmp.ne p6, p0 = r0, r22                \n\t"