Commit 3b31f720 by David Malcolm Committed by David Malcolm

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
parent 592459bf
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.
......
......@@ -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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment