(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
pr16107.c
       1  /* { dg-do compile } */
       2  /* { dg-options "-O2 -fdump-tree-optimized" } */
       3  
       4  #include <math.h>
       5  
       6  double t (double x)
       7  {
       8   x = -x;
       9   x = cos (x);
      10   x = -x;
      11   x = cosh (x);
      12   return x;
      13  }
      14  
      15  /* { dg-final { scan-tree-dump-not "-x" "optimized" } } */
      16