OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [abi/] [param1.C] - Blame information for rev 693

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.