blob: b942324892c10186fe83e2ed3b81b4509f74795c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
/* { 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);
}
|