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
Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git]
/
old-autovect-branch
/
gcc
/
testsuite
/
consistency.vlad
/
layout
/
a-of-s-longlong.c
blob
2974913b1215cabb8518722763131527a5cb14de
1
#include <stdio.h>
2
3
static struct
sss
{
4
long long
f
;
5
}
a
[
10
];
6
7
int
main
(
void
) {
8
printf
(
"++++Array of struct with longlong:
\n
"
);
9
printf
(
"size=%d,align=%d,displ-a[5]=%d,align-a[5]=%d
\n
"
,
10
sizeof
(
a
),
__alignof__
(
a
), (
char
*)&
a
[
5
] - (
char
*)
a
,
__alignof__
(
a
[
5
]));
11
return
0
;
12
}