This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: [patch] Fixes for the uniquization machinery in varasm.c


On Tue, Apr 27, 2010 at 9:48 AM, Eric Botcazou <ebotcazou@adacore.com> wrote:
> Hi,
>
> this patch contains the fixes for the uniquization machinery in varasm.c that
> were necessary for http://gcc.gnu.org/ml/gcc-patches/2010-04/msg01531.html:
> ?- support for vector constants throughout,
> ?- support for &label in the compare function (the support is already there in
> the hash function),
> ?- support for *(type)& in the decode function; these expressions cannot be
> folded because of the intermediate cast but this cast can be eliminated when
> decoding addresses.
>
> Retested separately on i586-suse-linux (although the code is very likely never
> exercised in this situation), OK for mainline?

Ok.

Thanks,
Richard.

>
> 2010-04-27 ?Eric Botcazou ?<ebotcazou@adacore.com>
>
> ? ? ? ?* varasm.c (decode_addr_const): Handle special case of INDIRECT_REF.
> ? ? ? ?(const_hash_1) <VECTOR_CST>: New case.
> ? ? ? ?(compare_constant) <VECTOR_CST>: Likewise.
> ? ? ? ?<ADDR_EXPR>: Deal with LABEL_REFs.
> ? ? ? ?(copy_constant) <VECTOR_CST>: New case.
>
>
> --
> Eric Botcazou
>


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