Debian Codegraph @

gcc/testsuite/gcc.dg/pr107300.c

raw
1 /* PR ipa/107300 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -fipa-cp-clone -funreachable-traps -fno-inline" } */
4
5 void
6 bar (int x, int y)
7 {
8 if (x)
9 __builtin_unreachable ();
10
11 if (y)
12 __builtin_abort ();
13 }
14
15 void
16 foo (void)
17 {
18 bar (0, 0);
19 }