Fix ICE in substring-handling building 502.gcc_r (PR 87562)
[official-gcc.git] / gcc / testsuite / gcc.dg / pr16107.c
bloba54d9e19021f17ec600f39e6273f7630971c85d8
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-optimized" } */
4 #include <math.h>
6 double t (double x)
8 x = -x;
9 x = cos (x);
10 x = -x;
11 x = cosh (x);
12 return x;
15 /* { dg-final { scan-tree-dump-not "-x" "optimized" } } */