This is the mail archive of the gcc@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: AIX bootstrap failure


> 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>


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