re PR testsuite/31578 (FAIL: gcc.dg/gnu89-init-4.c (test for excess errors))

2007-04-14  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR testsuite/31578
        * gcc.dg/gnu89-init-4.c: Change to a compile only test.

From-SVN: r123855
This commit is contained in:
Andrew Pinski
2007-04-15 21:40:30 +00:00
committed by Andrew Pinski
parent 0dd451f026
commit 095dc34fea
2 changed files with 7 additions and 2 deletions

View File

@@ -1,7 +1,12 @@
2007-04-14 Andrew Pinski <andrew_pinski@playstation.sony.com>
PR testsuite/31578
* gcc.dg/gnu89-init-4.c: Change to a compile only test.
2007-04-14 Andrew Pinski <andrew_pinski@playstation.sony.com>
PR C/31520
* testsuite/gcc.dg/gnu89-init-4.c: New testcase.
* gcc.dg/gnu89-init-4.c: New testcase.
2007-04-14 Jakub Jelinek <jakub@redhat.com>

View File

@@ -1,5 +1,5 @@
/* Test for GNU extensions to compound literals are giving the correct array bounds */
/* { dg-do run } */
/* { dg-do compile } */
/* { dg-options "-std=gnu89 -W -Wall -O2" } */
int a[] = (int[4]){1, 1, 2};