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
Small ChangeLog tweak.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
align-nest.c
blob
5298b09366d051316934652442da77a2d7b3e18c
1
/* { dg-skip-if "requires alloca" { ! alloca } { "-O0" } { "" } } */
2
3
void
foo
(
int
n
)
4
{
5
typedef
struct
6
{
7
int
value
;
8
}
myint
;
9
10
struct
S
11
{
12
int
i
[
n
];
13
unsigned int
b
:
1
;
14
myint mi
;
15
}
__attribute__
((
packed
))
__attribute__
((
aligned
(
4
)));
16
17
struct
S s
[
2
];
18
int
k
;
19
20
for
(
k
=
0
;
k
<
2
;
k
++)
21
s
[
k
].
mi
.
value
=
0
;
22
}
23
24
int
main
()
25
{
26
foo
(
2
);
27
return
0
;
28
}
29