Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
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
);
}
}