Sign in
gnu
/
gcc
/
93ac832f1846e4867aa6537f76f510fab8e3e87d
/
.
/
gcc
/
testsuite
/
gcc.dg
/
pr16107.c
blob: a54d9e19021f17ec600f39e6273f7630971c85d8 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-optimized" } */
#include
<math.h>
double
t
(
double
x
)
{
x
=
-
x
;
x
=
cos
(
x
);
x
=
-
x
;
x
=
cosh
(
x
);
return
x
;
}
/* { dg-final { scan-tree-dump-not "-x" "optimized" } } */