structure.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51376
138bc75d-0d04-0410-961f-
82ee72b054a4
+2002-03-26 Richard Henderson <rth@redhat.com>
+
+ * gcc.c-torture/execute/20020307-2.c (main): Pass a variable sized
+ structure.
+
2002-03-25 Richard Henderson <rth@redhat.com>
* gcc.dg/20001013-1.c: Add -mcpu=ultrasparc. Only run on
int main (void)
{
- struct { char a[5]; } x, y;
+ int z = 5;
+ struct { char a[z]; } x, y;
x.a[0] = '0';
x.a[1] = '1';
y.a[2] = '7';
y.a[3] = '8';
y.a[4] = '9';
- foo (5, x, y);
+ foo (z, x, y);
exit (0);
}