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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [i386/] [pr34215.c] - Rev 704

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

/* Testcase by Martin Michlmayr <tbm@cyrius.com> */
 
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O2" } */
 
double pow (double, double);
 
void calc_score_dist (int mxdlen, long double d, long double **dist)
{
  unsigned long i, scr2;
  for (i = 1; i <= mxdlen; i++)
    {
      for (scr2 = mxdlen; scr2 <= mxdlen + 10; scr2++)
	{
	}
      dist[i][scr2] *= pow (1.0 / d, i);
    }
}
 

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.