Debian Codegraph @

gcc/testsuite/gcc.dg/tree-ssa/pr118517.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fno-ipa-pure-const" } */
3
4 void __attribute__((noreturn)) bar(void) {
5 __builtin_unreachable ();
6 }
7
8 int p;
9 void foo() {
10 if (p) bar();
11 }