OSDN Git Service

Add NIOS2 support. Code from SourceyG++.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.c-torture / compile / 20020319-1.c
1 /* This testcase ICEd in combine.c:do_SUBST() self-test for sign-extended
2 CONST_INT because expr.c:expand_expr() was not sign-extending array index
3 into constant strings.  */
4
5 typedef unsigned char uch;
6 extern uch outbuf[];
7 extern unsigned outcnt;
8
9 extern void flush_outbuf (void);
10
11 int zip(void)
12 {
13   outcnt = 0;
14
15     {outbuf[outcnt++]=(uch)("\037\213"[0]); if (outcnt==16384) flush_outbuf();};
16     {outbuf[outcnt++]=(uch)("\037\213"[1]); if (outcnt==16384) flush_outbuf();};
17
18   return 0;
19 }
20