This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR c/12818
- From: Geoff Keating <geoffk at geoffk dot org>
- To: Eric Botcazou <ebotcazou at libertysurf dot fr>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: 29 Jan 2004 15:26:33 -0800
- Subject: Re: [PATCH] Fix PR c/12818
- References: <200401291924.50604.ebotcazou@libertysurf.fr>
Eric Botcazou <ebotcazou@libertysurf.fr> writes:
> 2004-01-29 Eric Botcazou <ebotcazou@libertysurf.fr>
>
> PR c/12818
> * varasm.c (const_hash_1) <STRING_CST>: Use the
> address to compute the hash value if flag_writable_strings.
> (compare_constant) <STRING_CST>: Compare the addresses
> if flag_writable_strings.
> (build_constant_desc): Do not copy the expression for a
> STRING_CST if flag_writable_strings.
>
>
> 2004-01-29 Eric Botcazou <ebotcazou@libertysurf.fr>
>
> * gcc.dg/fwritable-strings-1.c: New test.
This is OK, assuming you've bootstrapped & run a dejagnu testrun on
some platform.
--
- Geoffrey Keating <geoffk@geoffk.org>