2 loop-15.c from the execute part of the gcc torture tests.
11 /* Bombed with a segfault on powerpc-linux. doloop.c generated wrong
14 foo (unsigned long *start
, unsigned long *end
)
16 unsigned long *temp
= end
- 1;
23 testTortureExecute (void)
25 #ifndef __SDCC_pdk14 // Lack of memory
29 for (start
= 0; start
< 5; start
++)
30 for (end
= 0; end
< 5; end
++)
32 for (k
= 0; k
< 5; k
++)
35 foo (a
+ start
, a
+ end
);
37 for (k
= 0; k
<= start
; k
++)
41 for (k
= start
+ 1; k
<= end
; k
++)
45 for (k
= end
+ 1; k
< 5; k
++)