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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20020319-1.c] - Blame information for rev 859

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

Line No. Rev Author Line
1 297 jeremybenn
/* 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
 

powered by: WebSVN 2.1.0

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