2011-10-13 Tom de Vries <tom@codesourcery.com>
commitcab98a0d561a6939efccec624f5638afd5edb6de
authorvries <vries@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 Oct 2011 09:54:50 +0000 (13 09:54 +0000)
committervries <vries@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 Oct 2011 09:54:50 +0000 (13 09:54 +0000)
tree632f11e927fc77c78227669b4d1bc7c536ad109b
parent01afea05c60a88997f79bd6e1a0f5cf912316bb5
2011-10-13  Tom de Vries  <tom@codesourcery.com>

* emit-rtl.c (set_mem_attributes_minus_bitpos): Set MEM_READONLY_P
for static const strings.
* varasm.c (build_constant_desc): Generate the memory location of the
constant using gen_const_mem.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179896 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/emit-rtl.c
gcc/varasm.c