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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20001221-1.c] - Blame information for rev 774

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

Line No. Rev Author Line
1 688 jeremybenn
static void
2
foo ()
3
{
4
  long maplength;
5
  int type;
6
  {
7
    const long nibbles = 8;
8
    char buf1[nibbles + 1];
9
    char buf2[nibbles + 1];
10
    char buf3[nibbles + 1];
11
    buf1[nibbles] = '\0';
12
    buf2[nibbles] = '\0';
13
    buf3[nibbles] = '\0';
14
    ((nibbles) <= 16
15
     ? (({
16
       void *__s = (buf1);
17
       union
18
         {
19
           unsigned int __ui;
20
           unsigned short int __usi;
21
           unsigned char __uc;
22
         }
23
       *__u = __s;
24
       unsigned char __c = (unsigned char)('0');
25
       switch ((unsigned int) (nibbles))
26
         {
27
          case 16:
28
           __u->__ui = __c * 0x01010101;
29
           __u = __extension__ ((void *) __u + 4);
30
          case 12:
31
           __u->__ui = __c * 0x01010101;
32
           __u = __extension__ ((void *) __u + 4);
33
          case 0:
34
           break;
35
         }
36
       __s;
37
     }))
38
     : 0);
39
    ((nibbles) <= 16
40
     ? (({
41
       void *__s = (buf2);
42
       union
43
         {
44
           unsigned int __ui;
45
           unsigned short int __usi;
46
           unsigned char __uc;
47
         }
48
       *__u = __s;
49
       unsigned char __c = (unsigned char)('0');
50
       switch ((unsigned int) (nibbles))
51
         {
52
          case 16:
53
           __u->__ui = __c * 0x01010101;
54
           __u = __extension__ ((void *) __u + 4);
55
          case 12:
56
           __u->__ui = __c * 0x01010101;
57
           __u = __extension__ ((void *) __u + 4);
58
          case 8:
59
           __u->__ui = __c * 0x01010101;
60
           __u = __extension__ ((void *) __u + 4);
61
          case 4:
62
           __u->__ui = __c * 0x01010101;
63
          case 0:
64
           break;
65
         }
66
       __s;
67
     }))
68
     : 0);
69
  }
70
}

powered by: WebSVN 2.1.0

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