PR c++/37276
[official-gcc.git] / gcc / testsuite / gcc.dg / pr50251.c
blobf791aa882789b3899598849d46ead44c1bc8dca4
1 /* { dg-do compile { target { ! { x86_64-*-mingw* } } } } */
2 /* { dg-options "-O2" } */
3 /* { dg-additional-options "-mpreferred-stack-boundary=12" { target x86_64-*-* } } */
5 extern void bar (int*);
7 char *p;
9 int
10 main ()
12 int q;
13 p = __builtin_stack_save ();
14 bar (&q);
15 __builtin_stack_restore (p);
16 bar (&q);
17 return 0;