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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [pr47684.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/47684 */
2
/* { dg-do compile } */
3
/* { dg-options "-O3 -fcompare-debug" } */
4
 
5
int in[8][4];
6
int out[4];
7
 
8
void
9
foo (void)
10
{
11
  int sum = 1;
12
  int i, j, k;
13
  for (k = 0; k < 4; k++)
14
    {
15
      for (j = 0; j < 4; j++)
16
        for (i = 0; i < 4; i++)
17
          sum *= in[i + k][j];
18
      out[k] = sum;
19
    }
20
}

powered by: WebSVN 2.1.0

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