diff options
author | Eric Botcazou <ebotcazou@libertysurf.fr> | 2004-01-30 15:16:43 +0100 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2004-01-30 14:16:43 +0000 |
commit | 5e9295fa05762dd503c5310b0b28e3f352f876ae (patch) | |
tree | 2f8ffaed307795a09c0dc5b8efae1560a53c708c /gcc/combine.c | |
parent | 7dcc98e25c7da0f7eeef93d77d0ead2e5814b019 (diff) | |
download | gcc-5e9295fa05762dd503c5310b0b28e3f352f876ae.zip gcc-5e9295fa05762dd503c5310b0b28e3f352f876ae.tar.gz gcc-5e9295fa05762dd503c5310b0b28e3f352f876ae.tar.bz2 |
re PR c/12818 (-fwritable strings triggers bad code generation)
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.
From-SVN: r76958
Diffstat (limited to 'gcc/combine.c')
0 files changed, 0 insertions, 0 deletions