Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
pr58570.c
blob: 28b6efe8f9503ac5d115ebc976f48e1049fe0379 [
file
] [
log
] [
blame
]
/* { dg-require-effective-target int32plus } */
#pragma
pack
(
1
)
struct
S
{
int
f0
:
15
;
int
f1
:
29
;
};
int
e
=
1
,
i
;
static
struct
S d
[
6
];
int
main
(
void
)
{
if
(
e
)
{
d
[
i
].
f0
=
1
;
d
[
i
].
f1
=
1
;
}
if
(
d
[
0
].
f1
!=
1
)
__builtin_abort
();
return
0
;
}