* tree-loop-distribution.c (INCLUDE_ALGORITHM): New header file.
[official-gcc.git] / gcc / testsuite / gcc.dg / builtin-unreachable-6.c
blob2f8ca3695463fc6780d51c7f8f8db98e04a741dd
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-fab1" } */
4 void
5 foo (int b, int c)
7 void *x = &&lab;
8 if (b)
10 lab:
11 __builtin_unreachable ();
13 lab2:
14 if (c)
15 x = &&lab2;
16 goto *x;
19 /* { dg-final { scan-tree-dump-times "lab:" 1 "fab1" } } */
20 /* { dg-final { scan-tree-dump-times "__builtin_unreachable" 1 "fab1" } } */