1 2 3 4 5 6 7 8 9 10
/* PR middle-end/38140 */ /* { dg-do compile } */ /* { dg-options "-O2 -fno-strict-aliasing" } */ int foo (void *x) { int (*fn) (int); *(void **)&fn = x; return fn (6); }