repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2017-11-15 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr16107.c
blob
a54d9e19021f17ec600f39e6273f7630971c85d8
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