2018-05-17 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / pr50251.c
blob57b3d971aef16f08fdcaed7d0627e39bc5d2a430
1 /* { dg-do compile { target { ! { x86_64-*-mingw* } } } } */
2 /* { dg-options "-O2" } */
3 /* { dg-additional-options "-mpreferred-stack-boundary=12" { target { { i?86-*-* x86_64-*-* } && lp64 } } } */
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;