From: Richard Henderson Date: Mon, 17 Sep 2001 16:38:59 +0000 (-0700) Subject: * gcc.dg/array-5.c: Fix VLA decomposition test. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=17920efbf030175a74a49e970ca2a5198cff4458;p=gcc.git * gcc.dg/array-5.c: Fix VLA decomposition test. From-SVN: r45654 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 40333a375d3..ae0bb7b94be 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2001-09-17 Richard Henderson + + * gcc.dg/array-5.c: Fix VLA decomposition test. + 2001-09-16 Neil Booth * gcc.dg/cpp/line5.c: New testcase. diff --git a/gcc/testsuite/gcc.dg/array-5.c b/gcc/testsuite/gcc.dg/array-5.c index f5321e45238..7a8e3ac633d 100644 --- a/gcc/testsuite/gcc.dg/array-5.c +++ b/gcc/testsuite/gcc.dg/array-5.c @@ -35,7 +35,7 @@ void func(int n, int m) { /* Compatible, but undefined behavior; (2, 2) is not a constant expression, and thus A is a VLA. */ - int a[(2, 2)]; + int a[6][(2, 2)]; int (*p)[3]; p = a; /* { dg-bogus "incompatible" "bad vla handling" { xfail *-*-* } } */ }