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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [pr34016.c] - Rev 826

Compare with Previous | Blame | View Log

/* PR tree-optimization/34016 */
/* { dg-do compile } */
/* { dg-options "-O2 -ftree-loop-linear" } */
 
extern void bar (double *);
 
void foo (void)
{
  double gr[36];
  int i, j;
  for (i = 0; i <= 5; i++)
    {
      for (j = 0; j <= 5; j++)
        gr[i + j * 6] = 0.0;
      if (i <= 2)
        gr[i + i * 6] = 1.0;
    }
  bar (gr);
}
 

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.