repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
torture
/
pr41680.C
blob
7faab0d5fbc7c9129cbc94b25ff54fcb0bcd8367
1
// PR target/41680
2
// { dg-do compile }
3
4
extern void baz (float);
5
6
inline bool
7
bar (float x)
8
{
9
union { float f; int i; } u;
10
u.f = x;
11
return (u.i & 1);
12
}
13
14
void
15
foo (float *x)
16
{
17
for (int i = 0; i < 10; i++)
18
{
19
float f = x[i];
20
if (!bar (f))
21
baz (f);
22
}
23
}