blob: c438a19400e0fc82e154a30ef9625d2ffcfbd1db (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
// { dg-do run }
//
// Failed on powerpc64-linux for structure sizes > 64 and with size not a
// multiple of 8 after padding.
struct object
{
int i1;
char s1[60];
int i2;
char s2[64];
};
extern int subr (struct object obj);
int main ()
{
struct object obj;
obj.i1 = 1234;
obj.i2 = 5678;
return subr (obj);
}
int subr (struct object obj)
{
return obj.i1 != 1234 || obj.i2 != 5678;
}
|