(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
pr77862.c
       1  
       2  /* PR tree-optimization/77862 */
       3  /* { dg-do compile } */
       4  /* { dg-require-effective-target fpic } */
       5  /* { dg-options "-O2 -fPIC -w" } */
       6  
       7  struct paramed_type
       8  {
       9  };
      10  int a;
      11  
      12  int memcmp ( int*, void *, long );
      13  
      14  void
      15  cur_token (void)
      16  {
      17    if ( 1 != a || memcmp ( cur_token, "", a ) )
      18      return;
      19    struct paramed_type b = { };
      20  }