Fix gcc.dg/tree-ssa/builtin-sprintf-warn-4.c

gcc/testsuite/ChangeLog
	PR preprocessor/77672
	* gcc.dg/tree-ssa/builtin-sprintf-warn-4.c (test): Update
	expected multiline output from first warning to reflect change
	in r240434.

From-SVN: r240442
This commit is contained in:
David Malcolm 2016-09-23 16:55:27 +00:00 committed by David Malcolm
parent 592459bf6b
commit 3b31f72096
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,10 @@
2016-09-23 David Malcolm <dmalcolm@redhat.com>
PR preprocessor/77672
* gcc.dg/tree-ssa/builtin-sprintf-warn-4.c (test): Update
expected multiline output from first warning to reflect change
in r240434.
2016-09-23 Thomas Preud'homme <thomas.preudhomme@arm.com>
* gcc.dg/tree-ssa/builtin-sprintf-warn-2.c: Fix xfail pattern.

View file

@ -12,7 +12,7 @@ void test (void)
{ dg-message "format output 2 bytes into a destination of size 1" "" { target *-*-*-* } 10 }
{ dg-begin-multiline-output "" }
sprintf (dst + 7, "%-s", "1");
^~~~~
~~^~
{ dg-end-multiline-output "" }
{ dg-begin-multiline-output "" }
sprintf (dst + 7, "%-s", "1");