Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
torture
/
pr41680.C
blob: 7faab0d5fbc7c9129cbc94b25ff54fcb0bcd8367 [
file
] [
log
] [
blame
]
// PR target/41680
// { dg-do compile }
extern
void
baz
(
float
);
inline
bool
bar
(
float
x
)
{
union
{
float
f
;
int
i
;
}
u
;
u
.
f
=
x
;
return
(
u
.
i
&
1
);
}
void
foo
(
float
*
x
)
{
for
(
int
i
=
0
;
i
<
10
;
i
++)
{
float
f
=
x
[
i
];
if
(!
bar
(
f
))
baz
(
f
);
}
}