builtin-sprintf-warn-2.c: Fix xfail pattern.
authorThomas Preud'homme <thomas.preudhomme@arm.com>
Fri, 23 Sep 2016 16:06:57 +0000 (16:06 +0000)
committerThomas Preud'homme <thopre01@gcc.gnu.org>
Fri, 23 Sep 2016 16:06:57 +0000 (16:06 +0000)
2016-09-23  Thomas Preud'homme  <thomas.preudhomme@arm.com>

    gcc/testsuite/
    * gcc.dg/tree-ssa/builtin-sprintf-warn-2.c: Fix xfail pattern.

From-SVN: r240441

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-warn-2.c

index 12bbd22d3140e7e2103f2695fd41c09df1ae3a9b..c3aa8c55f2800b6a26bec1940eabd947d3488489 100644 (file)
@@ -1,3 +1,7 @@
+2016-09-23  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       * gcc.dg/tree-ssa/builtin-sprintf-warn-2.c: Fix xfail pattern.
+
 2016-09-23  Bernd Edlinger  <bernd.edlinger@hotmail.de>
            Tom de Vries  <tom@codesourcery.com>
 
index b0f2d450077012d92708c3638c47f1fd3611aa7a..675ecac4f72d8117abe258d2943eb5b1f78ad962 100644 (file)
@@ -80,8 +80,8 @@ struct Arrays {
 
 void test_s_nonconst (const char *s, const wchar_t *ws, struct Arrays *a)
 {
-  T (0, "%s",   s);             /* { dg-warning "into a region" "sprintf transformed into strcpy" { xfail *-*-*-* } } */
-  T (1, "%s",   s);             /* { dg-warning "nul past the end" "sprintf transformed into strcpy" { xfail *-*-*-* } } */
+  T (0, "%s",   s);             /* { dg-warning "into a region" "sprintf transformed into strcpy" { xfail *-*-* } } */
+  T (1, "%s",   s);             /* { dg-warning "nul past the end" "sprintf transformed into strcpy" { xfail *-*-* } } */
   T (1, "%1s",  s);             /* { dg-warning "nul past the end" } */
   T (1, "%.0s", s);
   T (1, "%.1s", s);             /* { dg-warning "writing a terminating nul" } */