* gcc.dg/stack-check-5.c: Skip with -fstack-protector.
[official-gcc.git] / gcc / testsuite / gcc.dg / pr56548.c
blob2aa61d9cc605e84683a454155c71452ba45ba31e
1 /* PR middle-end/56548 */
2 /* { dg-do compile } */
3 /* { dg-options "-O3" } */
4 /* { dg-additional-options "-march=pentium3" { target { { i?86-*-* x86_64-*-* } && ia32 } } } */
6 short
7 foo (short x)
9 int i;
11 for (i = 0; i < 3; i++)
12 if (x > 0)
13 x--;
15 return x;