* gcc.dg/stack-check-5.c: Skip with -fstack-protector.
[official-gcc.git] / gcc / testsuite / gcc.dg / pr46233.c
blob8916e4bdd3720e6cc97bcb8fc540fbc2d239cced
1 /* PR tree-optimization/46233 */
2 /* { dg-do compile } */
3 /* { dg-options "-O -fno-tree-dce" } */
5 int
6 foo ()
8 int i = 0;
9 while (1)
10 i += foo ();