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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [20000419-1.c] - Diff between revs 149 and 154

Only display areas with differences | Details | Blame | View Log

Rev 149 Rev 154
struct foo { int a, b, c; };
struct foo { int a, b, c; };
 
 
void
void
brother (int a, int b, int c)
brother (int a, int b, int c)
{
{
  if (a)
  if (a)
    abort ();
    abort ();
}
}
 
 
void
void
sister (struct foo f, int b, int c)
sister (struct foo f, int b, int c)
{
{
  brother ((f.b == b), b, c);
  brother ((f.b == b), b, c);
}
}
 
 
int
int
main ()
main ()
{
{
  struct foo f = { 7, 8, 9 };
  struct foo f = { 7, 8, 9 };
  sister (f, 1, 2);
  sister (f, 1, 2);
  exit (0);
  exit (0);
}
}
 
 

powered by: WebSVN 2.1.0

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