(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
pr51879-18.c
       1  /* { dg-do compile } */
       2  /* { dg-options "-O2 -ftree-tail-merge -fdump-tree-pre -fno-tree-copy-prop -fno-tree-dominator-opts" } */
       3  
       4  extern int foo (void);
       5  
       6  void bar (int c, int *p)
       7  {
       8    int *q = p;
       9  
      10    if (c)
      11      *p = foo ();
      12    else
      13      *q = foo ();
      14  }
      15  
      16  /* { dg-final { scan-tree-dump-times "foo \\(" 1 "pre"} } */