annotate gcc/testsuite/gcc.dg/torture/pr70542.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 /* PR rtl-optimization/70542 */
kono
parents:
diff changeset
2 /* { dg-do run } */
kono
parents:
diff changeset
3 /* { dg-require-effective-target int32plus } */
kono
parents:
diff changeset
4
kono
parents:
diff changeset
5 int a[113], d[113];
kono
parents:
diff changeset
6 short b[113], c[113], e[113];
kono
parents:
diff changeset
7
kono
parents:
diff changeset
8 int
kono
parents:
diff changeset
9 main ()
kono
parents:
diff changeset
10 {
kono
parents:
diff changeset
11 int i;
kono
parents:
diff changeset
12 long j;
kono
parents:
diff changeset
13 for (i = 0; i < 113; ++i)
kono
parents:
diff changeset
14 {
kono
parents:
diff changeset
15 a[i] = -636544305;
kono
parents:
diff changeset
16 b[i] = -31804;
kono
parents:
diff changeset
17 }
kono
parents:
diff changeset
18 for (j = 1; j <= 112; ++j)
kono
parents:
diff changeset
19 {
kono
parents:
diff changeset
20 c[j] = b[j] >> ((a[j] & 1587842570) - 1510214139);
kono
parents:
diff changeset
21 if (a[j])
kono
parents:
diff changeset
22 d[j] = j;
kono
parents:
diff changeset
23 e[j] = 7 << ((2312631697 - b[j]) - 2312663500);
kono
parents:
diff changeset
24 }
kono
parents:
diff changeset
25 asm volatile ("" : : : "memory");
kono
parents:
diff changeset
26 if (c[0] || d[0] || e[0])
kono
parents:
diff changeset
27 __builtin_abort ();
kono
parents:
diff changeset
28 for (i = 1; i <= 112; ++i)
kono
parents:
diff changeset
29 if (c[i] != -1 || d[i] != i || e[i] != 14)
kono
parents:
diff changeset
30 __builtin_abort ();
kono
parents:
diff changeset
31 return 0;
kono
parents:
diff changeset
32 }