This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: AIX bootstrap failure
- To: kenner at vlsi1 dot ultra dot nyu dot edu
- Subject: Re: AIX bootstrap failure
- From: Geoff Keating <geoffk at geoffk dot org>
- Date: Sun, 11 Nov 2001 03:28:00 -0800
- Cc: gcc at gcc dot gnu dot org
- References: <10111111045.AA01367@vlsi1.ultra.nyu.edu>
- Reply-to: Geoff Keating <geoffk at redhat dot com>
> Date: Sun, 11 Nov 01 05:45:51 EST
> From: kenner@vlsi1.ultra.nyu.edu (Richard Kenner)
> Cc: gcc@gcc.gnu.org
>
> Richard, did you look at rs6000_hash_constant and toc_hash_eq in rs6000.c?
>
> No.
>
> I think they might need updating.
>
> They do. There are some constants that need changing. Thanks.
>
> For instance, there's the comment
>
> /* Gotcha: One of these const_doubles will be in memory.
> The other may be on the constant-pool chain.
> So rtx_equal_p will think they are different... */
>
> and I'm not sure all the related code is still correct.
>
> That comment never made much sense since rtx_equal_p only considered
> two CONST_DOUBLEs the same if they are at the same address for quite
> a while (at least as long as GCC 2.8.1 and probably forever).
Yes, the only way to get two CONST_DOUBLEs with the same value but
different addresses is to have them come from different functions,
which is unfortunately what this code deals with.
--
- Geoffrey Keating <geoffk@geoffk.org> <geoffk@redhat.com>