This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: aix4.3 bootstrap fails with snapshot 20000612
- To: Geoff Keating <geoffk at cygnus dot com>
- Subject: Re: aix4.3 bootstrap fails with snapshot 20000612
- From: David Edelsohn <dje at watson dot ibm dot com>
- Date: Wed, 14 Jun 2000 17:49:47 -0400
- cc: ghazi at caip dot rutgers dot edu, gcc-bugs at gcc dot gnu dot org, kit dot smithers at eds dot com, Franz dot Sirl-kernel at lauterbach dot com, gcc-patches at gcc dot gnu dot org
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);
}