Debian Codegraph @

gcc/testsuite/gcc.dg/ubsan/pr106099.c

raw
1 /* PR tree-optimization/106099 */
2 /* { dg-do compile } */
3 /* { dg-options "-O -fsanitize=unreachable -fsanitize-undefined-trap-on-error -fno-tree-ccp -fno-tree-dominator-opts" } */
4
5 void
6 foo (void)
7 {
8 for (unsigned i = 0; i == 0; i++)
9 ;
10 }