(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
ipa/
pr57358.c
       1  /* { dg-do compile } */
       2  /* { dg-options "-O2" } */
       3  
       4  struct t { void (*func)(void*); };
       5  void test_func(struct t* a) __attribute__((optimize("O0")));
       6  void test_func(struct t* a)
       7  {
       8    a->func(0);
       9  }