aix4.3 bootstrap fails with snapshot 20000612
David Edelsohn
dje@watson.ibm.com
Wed Jun 14 14:49:00 GMT 2000
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);
}
More information about the Gcc-patches
mailing list