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
Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git]
/
old-autovect-branch
/
gcc
/
testsuite
/
gcc.dg
/
pr21921.c
blob
d6a8a2a94bf12f3426cc30432b6745c253e23daf
1
/* { dg-do compile } */
2
/* { dg-options "-O1 -funsafe-math-optimizations" } */
3
4
void
5
Q
(
double
*
s
,
double
h
)
6
{
7
int
i
;
8
if
(
h
>
1
)
9
h
=
h
-
1
;
10
11
for
(
i
=
1
;
i
<
3
;
i
++)
12
if
(
s
[
i
] /
h
>
0
)
13
s
[
0
] =
h
,
s
[
i
] =
s
[
i
] /
h
;
14
}