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

Subversion Repositories openrisc

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

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 -fno-tree-copy-prop -ftree-loop-distribution" } */
3
 
4
extern int A[];
5
extern int B[];
6
 
7
void
8
foo (int j, int c)
9
{
10
  int i;
11
 
12
  if (c)
13
    for (i = 0; i < j; i++)
14
      A[i] = B[i] = 0;
15
 
16
  for (i = 0; i < j; i++)
17
    A[i] = B[i];
18
}

powered by: WebSVN 2.1.0

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