gcc/testsuite/ChangeLog:
PR middle-end/85602
* c-c++-common/attr-nonstring-8.c: Adjust text of expected warning
to also match C++.
From-SVN: r261751
+2018-06-19 Martin Sebor <msebor@redhat.com>
+
+ PR middle-end/85602
+ * c-c++-common/attr-nonstring-8.c: Adjust text of expected warning
+ to also match C++.
+
2018-06-19 Jan Hubicka <hubicka@ucw.cz>
* g++.dg/lto/pr84805_0.C: Update template.
T (strncat (nd3, ns3, 4)); /* { dg-warning "argument 2 declared attribute .nonstring. is smaller than the specified bound 4" } */
/* { dg-warning "specified bound 4 exceeds destination size 3" "" { target *-*-* } .-1 } */
- T (strncat (d, pns, sizeof pns)); /* { dg-warning "argument to .sizeof. in .strncat. call is the same expression as the source" } */
+ T (strncat (d, pns, sizeof pns)); /* { dg-warning "argument to .sizeof. in .\[^\n\r\]*strncat\[^\n\r\]*. call is the same expression as the source" } */
}