OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Index: gcc/ChangeLog
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
darwin-misaligned.c
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