1 2 3 4 5 6 7 8 9 10 11
/* PR tree-optimization/46165 */ /* { dg-do compile } */ /* { dg-options "-O -fno-tree-ccp -fno-tree-copy-prop -fno-tree-dce" } */ extern void foo (void) __attribute__((noreturn)); void g (void) { void (*f) (void) = foo; f (); }