1 2 3 4 5 6 7 8 9 10 11
/* PR target/6054 */ /* { dg-do compile } */ /* { dg-options "-O -mconstant-gp" } */ /* { dg-final { scan-assembler "mov r1 =" } } */ extern void direct (void); void foo(void (*indirect) (void)) { indirect (); direct (); }