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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20040621-1.c] - Rev 816

Compare with Previous | Blame | View Log

/* This test woudl cause partial redundancies too complex for PRE
   to insert using a single temporary due to them not being GIMPLE
   expressions.  */
int ssbgst (int c, int k)
{
  int a, i, j;
 
  a = 0;
  i = 1;
  j = k;
  while (j)
    {
      a += (j + i) * (k + i + c) + (j + i + c);
      j = j - 1;
    }
  return a;
}
 

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.