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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [vect/] [O1-pr41008.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
 
3
double heating[2][2];
4
 
5
void foo (int, int);
6
 
7
void map_do()
8
{
9
  int jsav, ksav, k, j;
10
 
11
  for(k = 0; k < 2; k++)
12
    for(j = 0; j < 2; j++)
13
      if (heating[k][j] > 0.)
14
        {
15
          jsav = j;
16
          ksav = k;
17
        }
18
 
19
  foo (jsav, ksav);
20
}
21
 
22
/* { dg-final { cleanup-tree-dump "vect" } } */
23
 

powered by: WebSVN 2.1.0

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