https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99034

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
No need for -finstrument-functions:

void *b[5];
void foo (void);
struct S { ~S (); };

static inline void
__attribute__((always_inline))
bar (int d)
{
  S s;
  while (d)
    foo ();
}

void
baz (void)
{
  bar (2);
  __builtin_setjmp (b);
}

ICEs just with -O2.

Reply via email to