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]

[committed] adjust testcase gcc.dg/20011021-1.c


An oversight from a previous commit. Committed as obvious after testing.

Cheers,

Manuel.


Index: gcc/testsuite/gcc.dg/20011021-1.c
===================================================================
--- gcc/testsuite/gcc.dg/20011021-1.c   (revision 186942)
+++ gcc/testsuite/gcc.dg/20011021-1.c   (working copy)
@@ -8,7 +8,7 @@
 struct t
 {
   int a;
-  int b;
+  int b; /* { dg-message "note: 'b' declared here" } */
   int c;
 };

@@ -28,7 +28,7 @@
 };

 struct t T0 = { 1 };           /* { dg-warning "missing init" } */
-/* { dg-warning "near init" "near init" { target *-*-* } 30 } */
+
 struct t T1 = { .a = 1 };      /* { dg-bogus "(missing|near) init" } */

 union u U0 = { 1 };            /* { dg-warning "initialization of union" } */
Index: gcc/testsuite/ChangeLog
===================================================================
--- gcc/testsuite/ChangeLog     (revision 186942)
+++ gcc/testsuite/ChangeLog     (working copy)
@@ -1,3 +1,8 @@
+2012-04-29  Manuel López-Ibáñez  <manu@gcc.gnu.org>
+
+       PR 53149
+        * gcc.dg/20011021-1.c: Adjust testcase.
+
 2012-04-29  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR fortran/53148


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