repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
gcc.target
/
powerpc
/
darwin-misaligned.c
blob
9e53b7b22241e90b8fdc25843ec2f027c03ffea3
1
/* { dg-do compile { target powerpc*-*-darwin* } } */
2
/* { dg-options "-O2 -mpowerpc64" } */
3
4
typedef
struct
Nlm_rect
{
5
short
sh1
;
6
short
sh2
;
7
short
sh3
;
8
short
sh4
;
9
}
S8
;
10
11
typedef
struct
udv_mouse_select
{
12
short
Action_type
;
13
S8 rcClip
;
14
int
pgp
;
15
}
UDVselect
;
16
17
UDVselect ms
;
18
int
UDV
(
S8 rcClip
);
19
20
int
main
()
21
{
22
ms
.
rcClip
.
sh1
=
1
;
23
ms
.
rcClip
.
sh4
=
4
;
24
return
UDV
(
ms
.
rcClip
);
25
}
26
27
int
UDV
(
S8 rcClip
){
28
29
return
!(
rcClip
.
sh1
==
1
&&
rcClip
.
sh4
==
4
);
30
}
31
32