* gcc.dg/pr36902.c: Terminate dg-warning regexp string.
authorJakub Jelinek <jakub@redhat.com>
Fri, 1 Nov 2019 23:22:57 +0000 (00:22 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 1 Nov 2019 23:22:57 +0000 (00:22 +0100)
From-SVN: r277730

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr36902.c

index f4e18db61117bd4b35f83753eb168ef6798ee3e2..40e33f91ea932dee179519d27ba38add7e16ad12 100644 (file)
@@ -1,3 +1,7 @@
+2019-11-02  Jakub Jelinek  <jakub@redhat.com>
+
+       * gcc.dg/pr36902.c: Terminate dg-warning regexp string.
+
 2019-11-01  Martin Sebor  <msebor@redhat.com>
 
        PR middle-end/91679
index cc8650ccb3b0a7fcfe317116168060054c73388f..7dafc9ac17141e12ad93e6e99d18ba849cd70767 100644 (file)
@@ -44,7 +44,7 @@ foo2(unsigned char * to, const unsigned char * from, int n)
       *to = *from;
       break;
     case 5:
-      to[4] = from [4]; /* { dg-warning "\\\[-Warray-bounds } */
+      to[4] = from [4]; /* { dg-warning "\\\[-Warray-bounds" } */
       break;
     }
   return to;