* gcc.c-torture/compile/20030224-1.c: New test for ia32 backend bug.

From-SVN: r63371
This commit is contained in:
Jeff Law 2003-02-24 11:57:06 -07:00 committed by Jeff Law
parent f8dc212b5d
commit 201b9f2a5d
2 changed files with 21 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2003-02-24 Jeff Law <law@redhat.com>
* gcc.c-torture/compile/20030224-1.c: New test for ia32 backend bug.
2003-02-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* g++.dg/other/pragma-ep-1.C: Test for __PRAGMA_EXTERN_PREFIX.

View File

@ -0,0 +1,17 @@
int zzz (char *s1, char *s2, int len, int *q)
{
int z = 5;
unsigned int i, b;
struct { char a[z]; } x;
for (i = 0; i < len; i++)
s1[i] = s2[i];
b = z & 0x3;
len += (b == 0 ? 0 : 1) + z;
*q = len;
foo (x, x);
}