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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [20020210-1.c] - Rev 827

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

/* This used to fail on H8/300 due to incorrect specification of pushi1.  */
 
/* { dg-do run } */
/* { dg-options "-O2" } */
/* { dg-options "-O2 -fomit-frame-pointer" { target h8300-*-* } } */
 
extern void abort (void);
extern void exit (int);
 
void
bar (int a, int b, int c, int d, int e)
{
  if (d != 1)
    abort ();
}
 
void
foo (int a, int b, int c, int d, int e)
{
  bar (a, b, c, d, e);
}
 
int
main ()
{
  foo (0, 0, 0, 1, 2);
  exit (0);
}
 

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

powered by: WebSVN 2.1.0

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