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
[RFA] Fix csky and c6x build failures
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr92152.c
blob
a4f883956d4a39ac909c7ba483ce65f21ef51f3d
1
/* { dg-do run } */
2
union
U
3
{
4
long long
i
;
5
long
f
;
6
}
v
;
7
8
long
9
foo
(
long
*
f
)
10
{
11
*
f
=
1
;
12
v
.
i
=
0
;
13
v
.
f
=
0
;
14
return
*
f
;
15
}
16
17
int
18
main
()
19
{
20
if
(
foo
(&
v
.
f
) !=
0
)
21
__builtin_abort
();
22
return
0
;
23
}