On Fri, Jul 8, 2011 at 10:37 AM, Jason Merrill wrote:
> On 07/08/2011 10:35 AM, Jakub Jelinek wrote:
>>
>> That will match only on ELF and perhaps a few other targets, but I'm
>> certain
>> many targets put read-only data elsewhere. I'd just guard this
>> with a few most common target triplets th
On 07/08/2011 10:35 AM, Jakub Jelinek wrote:
That will match only on ELF and perhaps a few other targets, but I'm certain
many targets put read-only data elsewhere. I'd just guard this
with a few most common target triplets that are known to use .rodata
section.
Done, thanks. I've also remove
On Fri, Jul 08, 2011 at 10:22:16AM -0400, Jason Merrill wrote:
> --- /dev/null
> +++ b/gcc/testsuite/g++.dg/cpp0x/constexpr-rom.C
> @@ -0,0 +1,11 @@
> +// PR c++/49673: check that test_data goes into .rodata
> +// { dg-options -std=c++0x }
> +// { dg-final { scan-assembler "rodata" } }
That will m