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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [20010518-1.c] - Diff between revs 297 and 338

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

Rev 297 Rev 338
/* Leaf functions with many arguments.  */
/* Leaf functions with many arguments.  */
 
 
int
int
add (int a,
add (int a,
    int b,
    int b,
    int c,
    int c,
    int d,
    int d,
    int e,
    int e,
    int f,
    int f,
    int g,
    int g,
    int h,
    int h,
    int i,
    int i,
    int j,
    int j,
    int k,
    int k,
    int l,
    int l,
    int m)
    int m)
{
{
  return a+b+c+d+e+f+g+h+i+j+k+l+m;
  return a+b+c+d+e+f+g+h+i+j+k+l+m;
}
}
 
 
int
int
main(void)
main(void)
{
{
  if (add (1,2,3,4,5,6,7,8,9,10,11,12,13) != 91)
  if (add (1,2,3,4,5,6,7,8,9,10,11,12,13) != 91)
    abort ();
    abort ();
 
 
  exit (0);
  exit (0);
}
}
 
 

powered by: WebSVN 2.1.0

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