blob: fc53858c427f669f0d33d200ea34c14e6d85acdd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
/* This tests an insn length of sign extension on h8300 port. */
extern void exit (int);
volatile signed char *q;
volatile signed int n;
void
foo (void)
{
signed char *p;
for (;;)
{
p = (signed char *) q; n = p[2];
p = (signed char *) q; n = p[2];
p = (signed char *) q; n = p[2];
p = (signed char *) q; n = p[2];
p = (signed char *) q; n = p[2];
p = (signed char *) q; n = p[2];
p = (signed char *) q; n = p[2];
p = (signed char *) q; n = p[2];
p = (signed char *) q; n = p[2];
p = (signed char *) q; n = p[2];
p = (signed char *) q; n = p[2];
}
}
int
main ()
{
exit (0);
}
|