OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [20020118-1.c] - Blame information for rev 825

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* This tests an insn length of sign extention on h8300 port.  */
2
 
3
extern void exit (int);
4
 
5
volatile signed char *q;
6
volatile signed int n;
7
 
8
void
9
foo (void)
10
{
11
  signed char *p;
12
 
13
  for (;;)
14
    {
15
      p = (signed char *) q; n = p[2];
16
      p = (signed char *) q; n = p[2];
17
      p = (signed char *) q; n = p[2];
18
      p = (signed char *) q; n = p[2];
19
      p = (signed char *) q; n = p[2];
20
      p = (signed char *) q; n = p[2];
21
      p = (signed char *) q; n = p[2];
22
      p = (signed char *) q; n = p[2];
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
    }
27
}
28
 
29
int
30
main ()
31
{
32
  exit (0);
33
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.