blob: b942324892c10186fe83e2ed3b81b4509f74795c [file] [log] [blame]
/* { dg-do compile { target { ! ia32 } } } */
/* { dg-require-effective-target fpic } */
/* { dg-require-effective-target maybe_x32 } */
/* { dg-options "-O2 -fPIC -mx32 -maddress-mode=long" } */
struct initial_sp
{
void *sp;
int mask;
};
__thread struct initial_sp __morestack_initial_sp;
void foo (int *);
void __morestack_release_segments (void)
{
foo (&__morestack_initial_sp.mask);
}