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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [i386/] [pr45352.c] - Blame information for rev 691

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 691 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O3 -march=amdfam10 -fselective-scheduling2 -fsel-sched-pipelining -funroll-all-loops" } */
3
 
4
struct S
5
{
6
  struct
7
  {
8
    int i;
9
  } **p;
10
  int x;
11
  int y;
12
};
13
 
14
extern int baz (void);
15
extern int bar (void *, int, int);
16
 
17
void
18
foo (struct S *s)
19
{
20
  int i;
21
  for (i = 0; i < s->x; i++)
22
    bar (s->p[i], baz (), s->y);
23
  for (i = 0; i < s->x; i++)
24
    s->p[i]->i++;
25
}

powered by: WebSVN 2.1.0

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