builtin-sprintf-warn-2.c: Fix xfail pattern.
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
This commit is contained in:
parent
b571e48048
commit
592459bf6b
2 changed files with 6 additions and 2 deletions
|
@ -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>
|
||||
|
||||
|
|
|
@ -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" } */
|
||||
|
|
Loading…
Add table
Reference in a new issue