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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [pr49948.c] - Rev 689

Compare with Previous | Blame | View Log

/* PR tree-optimization/49948 */
/* { dg-do compile } */
/* { dg-require-effective-target pthread } */
/* { dg-options "-O3 -ftree-parallelize-loops=2" } */
 
extern int a, *b;
int
foo (void)
{
  int c, d = 8, *e[8], i;
  if (a <= 7)
    {
      for (i = 0; i < 8; ++i)
	e[i] = &c;
      while (--d)
	{
	  a = 0;
	  b = e[0];
	}
      return 0;
    }
  return b == &d;
}
 

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.