Message ID | CAMe9rOqrCtzNO3zG-n_82RLWyuqm=33db-pCtJJQvJz1RbVY8Q@mail.gmail.com |
---|---|
State | New |
Headers | show |
Index: gcc.target/i386/pr55049-1.c =================================================================== --- gcc.target/i386/pr55049-1.c (revision 0) +++ gcc.target/i386/pr55049-1.c (revision 192785) @@ -0,0 +1,11 @@ +/* { dg-do compile { target { ! { ia32 } } } } */ +/* { dg-require-effective-target fpic } */ +/* { dg-options "-O2 -fPIC -mx32" } */ + +extern void __morestack_fail (const char *msg); +void +foo (void) +{ + static const char msg[] = "munmap of stack space failed: errno "; + __morestack_fail (msg); +}