1/* { dg-do compile { target { ! { ia32 } } } } */ 2/* { dg-require-effective-target fpic } */ 3/* { dg-options "-O2 -fPIC -mx32 -maddress-mode=long" } */ 4 5struct initial_sp 6{ 7 void *sp; 8 int mask; 9}; 10 11__thread struct initial_sp __morestack_initial_sp; 12 13void foo (int *); 14 15void __morestack_release_segments (void) 16{ 17 foo (&__morestack_initial_sp.mask); 18} 19