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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [vect/] [O3-pr49087.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
static char func2() { }
4
 
5
struct S0
6
{
7
 int t;
8
};
9
 
10
int g;
11
 
12
struct S0 s0;
13
 
14
int
15
foo (int arg)
16
{
17
  int *ptr = &g;
18
  int i, j;
19
  for (i = 0; i < 10; i += 1)
20
    {
21
      for (j = 0; j < 1; j += 1)
22
        {
23
          int k;
24
          if (arg)
25
            {
26
              int l;
27
              for (k = 1; arg < 10; arg = func2 ())
28
                {
29
                  return l;
30
                }
31
            }
32
          *ptr = func2 () ^ s0.t;
33
        }
34
    }
35
}
36
 
37
/* { dg-final { cleanup-tree-dump "vect" } } */

powered by: WebSVN 2.1.0

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