From 592459bf6b0bca87a94d7e71e79043d25d381d1a Mon Sep 17 00:00:00 2001 From: Thomas Preud'homme Date: Fri, 23 Sep 2016 16:06:57 +0000 Subject: [PATCH] builtin-sprintf-warn-2.c: Fix xfail pattern. 2016-09-23 Thomas Preud'homme gcc/testsuite/ * gcc.dg/tree-ssa/builtin-sprintf-warn-2.c: Fix xfail pattern. From-SVN: r240441 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-warn-2.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 12bbd22d314..c3aa8c55f28 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2016-09-23 Thomas Preud'homme + + * gcc.dg/tree-ssa/builtin-sprintf-warn-2.c: Fix xfail pattern. + 2016-09-23 Bernd Edlinger Tom de Vries diff --git a/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-warn-2.c b/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-warn-2.c index b0f2d450077..675ecac4f72 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-warn-2.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-warn-2.c @@ -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" } */ -- 2.30.2