* tree-loop-distribution.c (struct partition): New field recording
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / pr42717.c
blob7f6fb9db5cf82c14ca45b6546eb25502c95294d4
1 /* { dg-xfail-if "ptxas crashes" { nvptx-*-* } { "-O0" } { "" } } */
2 static signed char
3 foo (signed char si1, unsigned char si2)
5 return (si1 ^ si2) & (-si2 ^ si2) ? : si1 - si2;
8 struct S0
12 unsigned char g_21;
14 struct S0 g_34;
16 void
17 bar (unsigned char p_20)
19 unsigned char *l_22 = &g_21;
20 unsigned char l_23 = 0;
21 struct S0 *l = &g_34;
22 goto lbl_42;
23 for (; l_23; l_23 = foo (l_23, 1))
25 for (p_20 = 0; 0; p_20 = foo (p_20, 1))
26 lbl_42:;
27 (l == &g_34) ? 0 : "";
28 lbl_85:*l_22 = p_20;
30 goto lbl_85;