pr middle-end/23237
pr middle-end/23237 * gcc.c-torture/compile/pr23237.c: New test. From-SVN: r104177
This commit is contained in:
parent
d840283a80
commit
c4bea017ed
|
@ -1,3 +1,8 @@
|
||||||
|
2005-09-12 Josh Conner <jconner@apple.com>
|
||||||
|
|
||||||
|
PR middle-end/23237
|
||||||
|
* gcc.c-torture/compile/pr23237.c: New test.
|
||||||
|
|
||||||
2005-09-11 Richard Henderson <rth@redhat.com>
|
2005-09-11 Richard Henderson <rth@redhat.com>
|
||||||
|
|
||||||
* g++.dg/other/error8.C: Update expected diagnostic text.
|
* g++.dg/other/error8.C: Update expected diagnostic text.
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
/* { dg-require-effective-target named_sections } */
|
||||||
|
|
||||||
|
static __attribute__ ((__section__ (".init.data"))) char *message;
|
||||||
|
static __attribute__ ((__section__ (".init.data"))) int (*actions[])(void) = {};
|
||||||
|
void unpack_to_rootfs(void)
|
||||||
|
{
|
||||||
|
while (!message)
|
||||||
|
{
|
||||||
|
if(!actions[0])
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue