http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51865
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-01-15 17:22:03 UTC --- /* { dg-do compile } */ /* { dg-options "-O2 -fipa-pta" } */ void fn (const char *, const char *) __attribute__ ((__noreturn__)); int var; inline void foo (void) { if (__builtin_expect (var != 0, 0)) fn ("a", "b"); }; void bar (void) { foo (); }; void baz (void) { foo (); }; Started with http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183102