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: r123854
This commit is contained in:
Andrew Pinski 2007-04-15 21:38:47 +00:00 committed by Andrew Pinski
parent d0b73842be
commit a392e63907
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
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-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
* gfortran.dg/warnings_are_errors_1.f90: Add -std=f95 to options.
@ -21,7 +26,7 @@
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};