1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
/* A function pointer compared with a void pointer should not be canonicalized. See PR middle-end/17564. */ void *f (void) __attribute__ ((__noinline__)); void * f (void) { return f; } int main (void) { if (f () != f) abort (); exit (0); }