This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Fix test gcc.dg/c99-flex-array-2.c


Test gcc.dg/c99-flex-array-2.c fails with a C89 warning.  Committed as obvious.

2002-02-12  David Billinghurst <David.Billinghurst@riotinto.com>

        * gcc.dg/c99-flex-array-2.c: Add -std=iso9899:1999

diff -u -r1.1 c99-flex-array-2.c
--- c99-flex-array-2.c  2002/02/11 02:37:37     1.1
+++ c99-flex-array-2.c  2002/02/12 04:08:04
@@ -1,5 +1,6 @@
 /* PR c/5623 */
 /* { dg-do compile } */
+/* { dg-options "-std=iso9899:1999 -pedantic-errors" } */

 struct blah {
    int   number;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]