File: pr59903.c

package info (click to toggle)
gcc-riscv64-unknown-elf 8.3.0.2019.08%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 680,956 kB
  • sloc: ansic: 3,237,715; cpp: 896,882; ada: 772,854; f90: 144,254; asm: 68,788; makefile: 67,456; sh: 29,743; exp: 28,045; objc: 15,273; fortran: 11,885; python: 7,369; pascal: 5,375; awk: 3,725; perl: 2,872; yacc: 316; xml: 311; ml: 285; lex: 198; haskell: 122
file content (56 lines) | stat: -rw-r--r-- 782 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/* { dg-do compile } */

int a, b, c, d, e, f, g, h, i[3], l, m, n, o, p, q, r;

struct S0
{
  int f0;
  int f1;
  int f2;
  int f3;
} j;

static int
fn1 (int p1)
{
  return p1 || ((p1 > 0) > (e << 1)); 
}

static struct S0
fn2 (struct S0 p1)
{
  char s;
  struct S0 t = {0,0,0,0};
  int u = 2;
  for (;;)
    {
      if (i[0])
	break;
      for (m = 0; m < 4; m++)
	for (p1.f0 = 0; p1.f0 < 3; p1.f0++)
	  {
	    j = t;
	    t.f3 = i[p1.f0];
	    o = b || 1 >> b ? 0 : a < 0;
	    q = 1 % d;
	    if ((g < fn1 ((1 ^ (q & 1)) | n)) ^ u)
	      j.f3 |= p % 2;
	    s = j.f3 > 0 ? j.f3 : j.f3 << 1;
	    r = l = s && p1.f1 * c;
	    h = p1.f1;
	  }
    }
  return p1;
}

int
main ()
{
  for (;f;)
    {
      struct S0 v = {0,0,0,0};
      fn2 (v);
      j.f3 = 0;
    }
  return 0;
}