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: dje at watson dot ibm dot com
- Subject: Re: aix4.3 bootstrap fails with snapshot 20000612
- From: Geoff Keating <geoffk at cygnus dot com>
- Date: Wed, 14 Jun 2000 13:59:22 -0700
- 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
- References: <200006141948.PAA29488@mal-ach.watson.ibm.com>
> cc: "Kaveh R. Ghazi" <ghazi@caip.rutgers.edu>, gcc-bugs@gcc.gnu.org,
> kit.smithers@eds.com, Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
> Date: Wed, 14 Jun 2000 15:48:39 -0400
> From: David Edelsohn <dje@watson.ibm.com>
> read_skip_spaces() tries to load the base of the TOC table from
> local symbol LC..313:
>
> lwz 11,LC..313(2)
>
> Just before the function, LC..313 is equated with LC..276:
>
> .set LC..313,LC..276
>
> LC..276 is the label for the TOC entry of label L..33:
>
> LC..276:
> .tc L..33[TC],L..33
>
> However, L..33 is the local label for the jump table used by function
> copy_rtx()!
> I do not understand Geoff's new TOC code with hash tables well
> enough to debug this.
Ow!
Try replacing these lines:
else if (GET_CODE (r1) == LABEL_REF)
return XINT (XEXP (r1, 0), 3) == XINT (XEXP (r2, 0), 3);
with
else if (GET_CODE (r1) == LABEL_REF)
return (CODE_LABEL_NUMBER (XEXP (r1, 0))
== CODE_LABEL_NUMBER (XEXP (r2, 0)));
(it should have been operand 5).
> I do note that when compiling some of the support
> functions in rs6000.c with warnings, GCC complains about prototype
> mismatches and one argument does not have the correct number of pointer
> indirections.
Those were harmless. I had a fix in my internal tree, but feel free
to fix them anyway.
--
- Geoffrey Keating <geoffk@cygnus.com>