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
/
pr36093.c
blob
9549bc306b96fff9a8946cc5beb706e465e550fd
1
extern
void
abort
(
void
);
2
3
typedef
struct
Bar
{
4
char
c
[
129
];
5
}
Bar
__attribute__
((
__aligned__
(
128
)));
6
7
typedef
struct
Foo
{
8
Bar bar
[
4
];
9
}
Foo
;
10
11
Foo foo
[
4
];
12
13
int
main
()
14
{
15
int
i
,
j
;
16
Foo
*
foop
= &
foo
[
0
];
17
18
for
(
i
=
0
;
i
<
4
;
i
++) {
19
Bar
*
bar
= &
foop
->
bar
[
i
];
20
for
(
j
=
0
;
j
<
129
;
j
++) {
21
bar
->
c
[
j
] =
'a'
+
i
;
22
}
23
}
24
25
if
(
foo
[
0
].
bar
[
3
].
c
[
128
] !=
'd'
)
26
abort
();
27
return
0
;
28
}