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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [pr28839.c] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
2
/* { dg-options "-O2 -msse2 -ftree-vectorize -funswitch-loops" } */
3
 
4
static int ready[10];
5
void abort (void);
6
void test_once (int t,int t1)
7
{
8
  int i, repeat;
9
  for (i = 0; i < 10; i++)
10
    {
11
      ready[i] = 0;
12
      if (t1)
13
        if (b())
14
          abort ();
15
    }
16
  if (t)
17
    abort ();
18
}

powered by: WebSVN 2.1.0

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