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
[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
cse_recip.c
blob
49216620a73bdccb3c905d738c238413e46fffc6
1
/* { dg-do compile } */
2
/* { dg-options "-Ofast -fdump-tree-optimized-raw -fno-tree-slp-vectorize" } */
3
4
void
5
cse_recip
(
float
x
,
float
y
,
float
*
a
)
6
{
7
a
[
0
] =
y
/ (
5
*
x
);
8
a
[
1
] =
y
/ (
3
*
x
);
9
a
[
2
] =
y
/
x
;
10
}
11
12
/* { dg-final { scan-tree-dump-times "rdiv_expr" 1 "optimized" } } */