1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-optimized" } */
3 
4 #include <math.h>
5 
t(double x)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 
17