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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [pr51957-1.c] - Blame information for rev 689

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* PR target/51957 */
2
/* { dg-do link } */
3
/* { dg-options "-O2 -g -fprofile-use" } */
4
/* { dg-additional-sources "pr51957-2.c" } */
5
 
6
int v[128];
7
#include "pr51957-1.h"
8
 
9
void
10
foo (U *x)
11
{
12
  T *a = x->u;
13
  while (1)
14
    {
15
      union R *b;
16
      b = fn1 ();
17
      if (b != w[0] && !(v[b->p->c] == 1))
18
        {
19
          fn2 (a->t, "foobar", b->p);
20
          b = w[0];
21
        }
22
      if (b != w[0])
23
        fn3 ();
24
      if (w[0] && b != w[0])
25
        fn4 (b->p);
26
      if (b != w[0] && (v[b->p->c] == 1) && fn4 (b->p))
27
        break;
28
    }
29
}

powered by: WebSVN 2.1.0

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