* gcc.c-torture/compile/20030224-1.c: New test for ia32 backend bug.
From-SVN: r63371
This commit is contained in:
parent
f8dc212b5d
commit
201b9f2a5d
@ -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.
|
||||
|
17
gcc/testsuite/gcc.c-torture/compile/20030224-1.c
Normal file
17
gcc/testsuite/gcc.c-torture/compile/20030224-1.c
Normal 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);
|
||||
}
|
Loading…
Reference in New Issue
Block a user