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
Rebase.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr48124-3.c
blob
386d88bd936ac29ad55611d2d4ed35883e1bf34a
1
/* { dg-do run } */
2
3
extern
void
abort
(
void
);
4
struct
S1
5
{
6
int
f0
;
7
int
:
1
;
8
int
f3
;
9
int
:
1
;
10
int
:
0
;
11
int
f6
:
1
;
12
};
13
int
g_13
=
1
;
14
volatile
struct
S1 g_118
= {
15
1
16
};
17
18
void
__attribute__
((
noinline
))
19
func_46
()
20
{
21
for
(
g_13
=
0
;
g_13
>=
0
;
g_13
-=
1
)
22
g_118
.
f6
=
0
;
23
}
24
25
int
26
main
()
27
{
28
func_46
();
29
if
(
g_13
!= -
1
)
30
abort
();
31
return
0
;
32
}