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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [tree-ssa/] [vrp49.c] - Rev 298

Compare with Previous | Blame | View Log

/* { dg-do link } */
/* { dg-options "-O2" } */
 
extern void link_error (void) __attribute__((noreturn));
int n;
float *x;
int main()
{
  if (n > 0)
    {
      int i = 0;
      do
	{
	  long long index;
	  i = i + 1;
	  index = i;
	  if (index <= 0)
	    link_error ();
	  x[index] = 0;
	  i = i + 1;
	  index = i;
	  if (index <= 0)
	    link_error ();
	  x[index] = 0;
	}
      while (i < n);
    }
}
 

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.