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
PR inline-asm/84742
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
strct-pack-2.c
blob
be76c764521b3e9d922bee99276a97d3aaaf21c7
1
typedef
struct
2
{
3
short
a
__attribute__
((
aligned
(
2
),
packed
));
4
short
*
ap
[
2
]
__attribute__
((
aligned
(
2
),
packed
));
5
}
A
;
6
7
main
()
8
{
9
short
i
,
j
=
1
;
10
A a
, *
ap
= &
a
;
11
ap
->
ap
[
j
] = &
i
;
12
exit
(
0
);
13
}