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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [pr46184.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
/* { dg-do compile } */
2
/* { dg-options "-O -ftree-vectorize -fno-tree-copy-prop -fno-tree-dce" } */
3
 
4
extern int A[], B[];
5
 
6
void
7
foo (int z)
8
{
9
  int j, i;
10
  for (j = 0; j < 32; j++)
11
    {
12
      int curr_a = A[0];
13
      for (i = 0; i < 16; i++)
14
        curr_a = A[i] ? curr_a : z;
15
      B[j] = curr_a;
16
    }
17
}
18
 

powered by: WebSVN 2.1.0

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