(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
pr43084.c
       1  /* PR debug/43084 */
       2  /* { dg-do compile } */
       3  /* { dg-options "-O1 -fwhole-program -fcompare-debug" } */
       4  
       5  struct S
       6  {
       7    int a;
       8  };
       9  
      10  int
      11  main ()
      12  {
      13    struct S s;
      14    struct S *p = &s;
      15    return p->a;
      16  }