re PR c/37303 (const compound initializers in structs are written to .data instead of .rodata)
2012-09-26 Steve Ellcey <sellcey@mips.com> PR c/37303 * gcc.dg/pr37303.c: Check for rdata or rodata. From-SVN: r191772
This commit is contained in:
parent
a67a73fd0c
commit
db9f539414
@ -1,3 +1,8 @@
|
||||
2012-09-26 Steve Ellcey <sellcey@mips.com>
|
||||
|
||||
PR c/37303
|
||||
* gcc.dg/pr37303.c: Check for rdata or rodata.
|
||||
|
||||
2012-09-26 Christophe Lyon <christophe.lyon@linaro.org>
|
||||
|
||||
* gcc.target/arm/builtin-bswap16-1.c: New testcase.
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* { dg-do compile { target *-*-elf* *-*-linux-gnu* } } */
|
||||
/* { dg-options "-std=c99" }
|
||||
/* { dg-final { scan-assembler "rodata" } } */
|
||||
/* { dg-final { scan-assembler "rdata|rodata" } } */
|
||||
|
||||
struct S { const int *x; } s = { (const int[]){1, 2, 3} };
|
||||
|
Loading…
x
Reference in New Issue
Block a user