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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [autopar/] [pr46561.c] - Blame information for rev 801

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* PR debug/46561 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2 -ftree-vectorize -ftree-parallelize-loops=2 -fcompare-debug" } */
4
 
5
extern void abort (void);
6
 
7
void foo (char *c)
8
{
9
  int i;
10
  unsigned x = 0;
11
  {
12
    for (i = 0; i < 64; i += 4)
13
        x = x | *((unsigned *) (&c[i]));
14
    if (x)
15
      abort ();
16
  }
17
}

powered by: WebSVN 2.1.0

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