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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [tree-ssa/] [loop-33.c] - Blame information for rev 298

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

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O2 -fdump-tree-lim-details" } */
3
 
4
int x;
5
int a[100];
6
 
7
struct a
8
{
9
  int X;
10
  int Y;
11
};
12
 
13
struct a arr[100];
14
 
15
void test4(unsigned b)
16
{
17
  unsigned i;
18
 
19
  /* And here.  */
20
  for (i = 0; i < 100; i++)
21
    {
22
      arr[b+8].X += i;
23
      arr[b+9].X += i;
24
    }
25
}
26
 
27
void test5(struct a *A, unsigned b)
28
{
29
  unsigned i;
30
 
31
  /* And here as well.  */
32
  for (i = 0; i < 100; i++)
33
    {
34
      A[b].X += i;
35
      A[b+1].Y += i;
36
    }
37
}
38
 
39
/* { dg-final { scan-tree-dump-times "Executing store motion of" 4 "lim1" { xfail lp64 } } } */
40
/* { dg-final { cleanup-tree-dump "lim\[1-2\]" } } */

powered by: WebSVN 2.1.0

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