(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
pr104381.c
       1  /* { dg-do compile } */
       2  /* { dg-options "-O2 -g -gtoggle -fdump-tree-optimized" } */
       3  
       4  int foo (int x)
       5  {
       6    int tem = x + 1;
       7    int tem2 = tem - 1;
       8    return tem2;
       9  }
      10  
      11  int
      12  __attribute__((optimize("no-tree-pre")))
      13  bar (int x)
      14  {
      15    int tem = x + 1;
      16    int tem2 = tem - 1;
      17    return tem2;
      18  }
      19  
      20  // { dg-final { scan-tree-dump-not "DEBUG " "optimized" } }