2 20100430-1.c from the execute part of the gcc torture tests.
7 /* This used to generate unaligned accesses at -O2 because of IVOPTS. */
9 #if !(defined(__SDCC_mcs51) && (defined(__SDCC_MODEL_SMALL) || defined(__SDCC_MODEL_MEDIUM) || defined(__SDCC_STACK_AUTO))) && !defined(__SDCC_pdk14) && !defined(__SDCC_pdk15) && !defined(__SDCC_pic14) // Lack of memory
21 unsigned short ss
[104];
22 unsigned char cc23
[13];
29 struct packed_struct buf
;
32 static unsigned short g
;
35 dummy (unsigned short s
)
45 for (i
= 0; i
< info
->buf
.pst1
.cc11
; i
++)
46 for (j
= 0; j
< info
->buf
.pst2
[i
].cc22
; j
++)
47 dummy (info
->buf
.pst2
[i
].ss
[j
]);
56 info
.buf
.pst1
.cc11
= 2;
57 info
.buf
.pst2
[0].cc22
= info
.buf
.pst2
[1].cc22
= 8;
63 testTortureExecute (void)
65 #if !(defined(__SDCC_mcs51) && (defined(__SDCC_MODEL_SMALL) || defined(__SDCC_MODEL_MEDIUM) || defined(__SDCC_STACK_AUTO))) && !defined(__SDCC_pdk14) && !defined(__SDCC_pdk15) && !defined(__SDCC_pic14) // Lack of memory