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
PR ipa/61602
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr37969.c
blob
cbb6f0598794377039deb99fa85aa142cf63acfd
1
/* { dg-do compile } */
2
/* { dg-options "-funswitch-loops" } */
3
4
void
foo
(
double
);
5
void
CreateDefaultTexture
(
double
mnMinimum
,
double
mnMaximum
,
6
unsigned short
nCreateWhat
)
7
{
8
double
d
=
0.0
;
9
for
(;;)
10
{
11
if
(
nCreateWhat
& (
0x0001
)
12
&&
mnMinimum
!=
0.0
)
13
d
=
mnMinimum
;
14
if
(
nCreateWhat
& (
0x0002
)
15
&&
mnMaximum
!=
0.0
)
16
d
=
mnMaximum
;
17
foo
(
d
);
18
}
19
}
20