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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [pr50133.c] - Blame information for rev 713

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

Line No. Rev Author Line
1 689 jeremybenn
/* PR tree-optimization/50133 */
2
/* { dg-do compile } */
3
/* { dg-options "-O -ftree-vectorize -fno-tree-loop-im" } */
4
 
5
extern int A[], B[];
6
 
7
void
8
foo (int z)
9
{
10
  int j, i;
11
  for (j = 0; j < 32; j++)
12
    {
13
      int a = A[0];
14
      for (i = 0; i < 16; i++)
15
        a = A[i] ? a : z;
16
      B[j] = a;
17
    }
18
}

powered by: WebSVN 2.1.0

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