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

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [20030914-2.c] - Blame information for rev 12

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 12 jlechner
/* On IRIX 6, PA is passed partially in registers and partially on the
2
   stack.  We therefore have two potential uses of pretend_args_size:
3
   one for the partial argument and one for the varargs save area.
4
   Make sure that these uses don't conflict.  */
5
 
6
struct s { int i[18]; };
7
 
8
int f (struct s pa, int pb, ...)
9
{
10
  return pb;
11
}
12
 
13
struct s gs;
14
 
15
int main ()
16
{
17
  if (f (gs, 0x1234) != 0x1234)
18
    abort ();
19
 
20
  exit (0);
21
}

powered by: WebSVN 2.1.0

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