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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [gomp/] [pr27573.c] - Diff between revs 154 and 816

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 154 Rev 816
/* PR middle-end/27573 */
/* PR middle-end/27573 */
/* { dg-do compile } */
/* { dg-do compile } */
/* { dg-options "-O2 -fopenmp -fprofile-generate" } */
/* { dg-options "-O2 -fopenmp -fprofile-generate" } */
 
 
extern int puts (const char *);
extern int puts (const char *);
 
 
int
int
main (void)
main (void)
{
{
  int i, j = 8;
  int i, j = 8;
#pragma omp parallel
#pragma omp parallel
  {
  {
    puts ("foo");
    puts ("foo");
    for (i = 1; i < j - 1; i++)
    for (i = 1; i < j - 1; i++)
      ;
      ;
  }
  }
  return 0;
  return 0;
}
}
 
 
/* { dg-final { cleanup-coverage-files } } */
/* { dg-final { cleanup-coverage-files } } */
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.