* gcc.c-torture/compile/20020319-1.c: New test.
From-SVN: r51176
This commit is contained in:
parent
96327cdcf6
commit
7614d20b9e
2 changed files with 22 additions and 2 deletions
|
@ -2,6 +2,8 @@
|
|||
|
||||
* gcc.dg/20020312-2.c: Add rs6000 target.
|
||||
|
||||
* gcc.c-torture/compile/20020319-1.c: New test.
|
||||
|
||||
2002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
|
||||
|
||||
* g++.old-deja/g++.eh/ia64-1.C: Use [ijkl]_[0-9] as variable names.
|
||||
|
@ -24,8 +26,6 @@
|
|||
|
||||
* gcc.dg/struct-by-value-1.c: New test.
|
||||
|
||||
* gcc.c-torture/compile/20020319-1.c: New test.
|
||||
|
||||
2002-03-18 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* g++.dg/opt/conj1.C: New test.
|
||||
|
|
20
gcc/testsuite/gcc.c-torture/compile/20020319-1.c
Normal file
20
gcc/testsuite/gcc.c-torture/compile/20020319-1.c
Normal file
|
@ -0,0 +1,20 @@
|
|||
/* This testcase ICEd in combine.c:do_SUBST() self-test for sign-extended
|
||||
CONST_INT because expr.c:expand_expr() was not sign-extending array index
|
||||
into constant strings. */
|
||||
|
||||
typedef unsigned char uch;
|
||||
extern uch outbuf[];
|
||||
extern unsigned outcnt;
|
||||
|
||||
extern void flush_outbuf (void);
|
||||
|
||||
int zip(void)
|
||||
{
|
||||
outcnt = 0;
|
||||
|
||||
{outbuf[outcnt++]=(uch)("\037\213"[0]); if (outcnt==16384) flush_outbuf();};
|
||||
{outbuf[outcnt++]=(uch)("\037\213"[1]); if (outcnt==16384) flush_outbuf();};
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Add table
Reference in a new issue