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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [graphite/] [id-14.c] - Rev 801

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

typedef struct {
  int n;
  float *a;
} bar;
 
float
foo (bar *b)
{
  float c, d;
  int j;
 
  for (j = 0; (j < b->n); j++)
    d += b->a[j];
 
  for (j = 0; (j < b->n); j++)
    c += b->a[j];
 
  return d;
}
 

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.