OSDN Git Service

Fix 4 execute/va-arg-26.c gcc testsuite failures.
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 5 Nov 2004 20:38:36 +0000 (20:38 +0000)
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 5 Nov 2004 20:38:36 +0000 (20:38 +0000)
* config/ia64/ia64.c (rtx_needs_barrier, case UNSPEC_GR_SPILL): Change
1 to UNSPEC_GR_SPILL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90141 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/ia64/ia64.c

index f5b3abd..bc62235 100644 (file)
@@ -1,3 +1,8 @@
+2004-11-05  James E Wilson  <wilson@specifixinc.com>
+
+       * config/ia64/ia64.c (rtx_needs_barrier, case UNSPEC_GR_SPILL): Change
+       1 to UNSPEC_GR_SPILL.
+
 2004-11-05  Andreas Krebbel  <krebbel1@de.ibm.com>
 
        * config/s390/s390.c (s390_fixed_condition_code_regs): New function.
index 39258f2..5f8dcaa 100644 (file)
@@ -4883,7 +4883,7 @@ rtx_needs_barrier (rtx x, struct reg_flags flags, int pred)
            HOST_WIDE_INT bit = (offset >> 3) & 63;
 
            need_barrier = rtx_needs_barrier (XVECEXP (x, 0, 0), flags, pred);
-           new_flags.is_write = (XINT (x, 1) == 1);
+           new_flags.is_write = (XINT (x, 1) == UNSPEC_GR_SPILL);
            need_barrier |= rws_access_regno (AR_UNAT_BIT_0 + bit,
                                              new_flags, pred);
            break;