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
2018-05-17 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
tic6x
/
abi-align-1.c
blob
963c2f6825f7d15e652aa1ef7ce310551a767d6c
1
/* { dg-do run } */
2
3
/* common */
4
char
c
;
5
/* arrays must be 8 byte aligned, regardless of size */
6
char
c_ary
[
1
];
7
8
/* data */
9
char
d
=
1
;
10
char
d_ary
[
1
] = {
1
};
11
12
int
main
()
13
{
14
if
(((
unsigned long
)&
c_ary
[
0
] &
7
) !=
0
)
15
return
1
;
16
if
(((
unsigned long
)&
d_ary
[
0
] &
7
) !=
0
)
17
return
1
;
18
return
0
;
19
}