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
2018-05-15 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
div_neg.c
blob
da499cda2fba6c943ec99c55cae2ea389f9e1cca
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fdump-tree-optimized" } */
3
4
float
5
div_neg
(
float
x
,
float
y
)
6
{
7
return
(-
x
/
y
) * (
x
/ -
y
);
8
}
9
10
/* { dg-final { scan-tree-dump-times " / " 1 "optimized" } } */