2 20020118-1.c from the execute part of the gcc torture suite.
11 /* This tests an insn length of sign extension on h8300 port. */
13 volatile signed char *q
;
14 volatile signed int n
;
23 p
= (signed char *) q
; n
= p
[2];
24 p
= (signed char *) q
; n
= p
[2];
25 p
= (signed char *) q
; n
= p
[2];
26 p
= (signed char *) q
; n
= p
[2];
27 p
= (signed char *) q
; n
= p
[2];
28 p
= (signed char *) q
; n
= p
[2];
29 p
= (signed char *) q
; n
= p
[2];
30 p
= (signed char *) q
; n
= p
[2];
31 p
= (signed char *) q
; n
= p
[2];
32 p
= (signed char *) q
; n
= p
[2];
33 p
= (signed char *) q
; n
= p
[2];
38 testTortureExecute (void)