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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [opt/] [pr48302.C] - Blame information for rev 774

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

Line No. Rev Author Line
1 693 jeremybenn
// { dg-do compile { target powerpc*-*-* ia64-*-* x86_64-*-* } }
2
// { dg-options "-O -fcrossjumping -fgcse -fschedule-insns2 -fsel-sched-pipelining -fsel-sched-pipelining-outer-loops -fselective-scheduling2 --param lim-expensive=320 --param min-crossjump-insns=1" }
3
 
4
struct S
5
{
6
  int i, j;
7
  S *s;
8
  ~S();
9
};
10
 
11
S *gs;
12
 
13
void foo ()
14
{
15
restart:
16
  for (S *s = gs; s; s = s->s)
17
    if (s->j && s->j != (s->i & 1)) {
18
            delete s;
19
            goto restart;
20
      }
21
}

powered by: WebSVN 2.1.0

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