diff options
author | Richard Henderson <rth@redhat.com> | 2001-09-17 09:38:59 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2001-09-17 09:38:59 -0700 |
commit | 17920efbf030175a74a49e970ca2a5198cff4458 (patch) | |
tree | 4c8966db08f3c46f0bdefe9402d1dc2a58beb22e | |
parent | 28d86bb96b5d4b558995d232ff5608aa30bfe1dc (diff) | |
download | gcc-17920efbf030175a74a49e970ca2a5198cff4458.zip gcc-17920efbf030175a74a49e970ca2a5198cff4458.tar.gz gcc-17920efbf030175a74a49e970ca2a5198cff4458.tar.bz2 |
* gcc.dg/array-5.c: Fix VLA decomposition test.
From-SVN: r45654
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/array-5.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 40333a3..ae0bb7b 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2001-09-17 Richard Henderson <rth@redhat.com> + + * gcc.dg/array-5.c: Fix VLA decomposition test. + 2001-09-16 Neil Booth <neil@daikokuya.demon.co.uk> * 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 f5321e4..7a8e3ac 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 *-*-* } } */ } |