1 /* Test profile-directed block ordering with computed gotos.
3 This is the same as test gcc.c-torture/execute/980526-1.c and
4 gcc.misc-tests/gcov-3.c */
6 extern void abort (void);
7 extern void exit (int);
9 int expect_do1
= 1, expect_do2
= 2;
11 static int doit(int x
){
14 static int jtab_init
= 0;
29 static void do1(void) {
30 if (doit(0) != expect_do1
)
34 static void do2(void){
35 if (doit(1) != expect_do2
)
40 #ifndef NO_LABEL_VALUES