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] Fix PR c/12818


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>


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