This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: aix4.3 bootstrap fails with snapshot 20000612


	I built with the patch and things are working much better.  So
rth's change to CODE_LABEL on May 12 switched the index and the TOC
algorithm was comparing the wrong field.  I have applied the appended
patch by you to the mainline.

David


Index: rs6000.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/rs6000/rs6000.c,v
retrieving revision 1.129
retrieving revision 1.130
diff -c -p -r1.129 -r1.130
*** rs6000.c    2000/06/14 20:26:17     1.129
--- rs6000.c    2000/06/14 21:45:43     1.130
*************** toc_hash_eq (h1, h2)
*** 6134,6140 ****
        return 1;
      }
    else if (GET_CODE (r1) == LABEL_REF)
!     return XINT (XEXP (r1, 0), 3) == XINT (XEXP (r2, 0), 3);
    else
      return rtx_equal_p (r1, r2);
  }
--- 6134,6141 ----
        return 1;
      }
    else if (GET_CODE (r1) == LABEL_REF)
!     return (CODE_LABEL_NUMBER (XEXP (r1, 0)) 
!           == CODE_LABEL_NUMBER (XEXP (r2, 0)));
    else
      return rtx_equal_p (r1, r2);
  }

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]