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
x86: Tune Skylake, Cannonlake and Icelake as Haswell
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
20080222-1.c
blob
6db83ccdf9028a7f10bfce67af6c7632d087407b
1
extern
void
abort
(
void
);
2
3
struct
container
4
{
5
unsigned char
data
[
1
];
6
};
7
8
unsigned char
space
[
6
] = {
1
,
2
,
3
,
4
,
5
,
6
};
9
10
int
11
foo
(
struct
container
*
p
)
12
{
13
return
p
->
data
[
4
];
14
}
15
16
int
17
main
()
18
{
19
if
(
foo
((
struct
container
*)
space
) !=
5
)
20
abort
();
21
return
0
;
22
}