Fix gimplification of ordering comparisons of arrays of bytes
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr52881.c
blobc101c80338da8851ebdcfbc537b29437380f2e8c
1 /* { dg-do compile } */
3 int a, b, c, d, e, f, h, i, j, k, l, m, n, o;
4 static int g;
5 int
6 fn1 () {
7 for (;; ++f)
8 if (e)
9 break;
10 return 0;
12 unsigned char fn2 ();
13 void
14 fn3 () {
15 lbl_220:
16 if (j) {
17 lbl_221:
18 l = (g || b) <= fn1 ();
19 for (;;) {
20 g = 0;
21 fn2 ();
22 if (k)
23 goto lbl_220;
24 break;
26 if (l)
27 goto lbl_221;
30 unsigned char
31 fn2 () {
32 o = d ? 0 : c;
33 h = m | a % o != n;
34 return i;