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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr21562.c] - Blame information for rev 749

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 688 jeremybenn
/* { dg-options "-fno-inline" } */
2
struct foo { int a, b, c; };
3
void abort(void);
4
void exit(int);
5
 
6
void
7
brother (int a, int b, int c)
8
{
9
  if (a)
10
    abort ();
11
}
12
 
13
void
14
sister (struct foo f, int b, int c)
15
{
16
  brother ((f.b == b), b, c);
17
}
18
 
19
int
20
main ()
21
{
22
  struct foo f = { 7, 8, 9 };
23
  sister (f, 1, 2);
24
  exit (0);
25
}

powered by: WebSVN 2.1.0

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