1 /*
2    pr85582-1.c from the execute part of the gcc torture tests.
3  */
4 
5 #include <testfwk.h>
6 
7 /* PR target/85582 */
8 
9 int a, b, d = 2, e;
10 long long c = 1;
11 
12 void
testTortureExecute(void)13 testTortureExecute (void)
14 {
15 #if !defined(__SDCC_pdk13) && !defined(__SDCC_pdk14) && !(defined(__SDCC_pdk15) && defined(__SDCC_STACK_AUTO)) // Lack of memory
16   int g = 6;
17 L1:
18   e = d;
19   if (a)
20     goto L1;
21   g--;
22   int i = c >> ~(~e | ~g);
23 L2:
24   c = (b % c) * i;
25   if (!e)
26     goto L2;
27   return;
28 #endif
29 }
30