Commit 8a8ce49e by Jakub Jelinek Committed by Jakub Jelinek

* gcc.dg/pr36902.c: Terminate dg-warning regexp string.

From-SVN: r277730
parent 49fb45c8
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> 2019-11-01 Martin Sebor <msebor@redhat.com>
PR middle-end/91679 PR middle-end/91679
......
...@@ -44,7 +44,7 @@ foo2(unsigned char * to, const unsigned char * from, int n) ...@@ -44,7 +44,7 @@ foo2(unsigned char * to, const unsigned char * from, int n)
*to = *from; *to = *from;
break; break;
case 5: case 5:
to[4] = from [4]; /* { dg-warning "\\\[-Warray-bounds } */ to[4] = from [4]; /* { dg-warning "\\\[-Warray-bounds" } */
break; break;
} }
return to; return to;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment