1 /* { dg-do compile { target { powerpc*-*-* } } } */
2 /* { dg-options "-O2" } */
3 /* { dg-final { scan-assembler-not {\mb\M} } } */
5 /* Check that all computed gotos in this testcase end up unfactored completely.
6 If some is not there will be a unconditional jump left; if all works fine,
22 extern void do_stuff_b(int arg
);
23 extern void do_stuff_c(int arg
);
25 extern int someglobal
;
30 static const void *dispatch_table
[] = {
37 goto *dispatch_table
[op
->opcode
];
41 goto *dispatch_table
[op
->opcode
];
45 goto *dispatch_table
[op
->opcode
];
49 goto *dispatch_table
[op
->opcode
];