1 /* { dg-require-effective-target label_values } */
3 /* Test profile-directed block ordering with computed gotos.
5 This is the same as test gcc.c-torture/execute/980526-1.c and
6 gcc.misc-tests/gcov-3.c */
8 extern void abort (void);
9 extern void exit (int);
11 int expect_do1 = 1, expect_do2 = 2;
13 static int doit(int x){
16 static int jtab_init = 0;
31 static void do1(void) {
32 if (doit(0) != expect_do1)
36 static void do2(void){
37 if (doit(1) != expect_do2)