From: David Malcolm Date: Fri, 23 Sep 2016 16:55:27 +0000 (+0000) Subject: Fix gcc.dg/tree-ssa/builtin-sprintf-warn-4.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3b31f720966b5b8ad2f9266fc4eec73c18ed3ddb;p=gcc.git 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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index c3aa8c55f28..7a853dc33e0 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2016-09-23 David Malcolm + + 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 * gcc.dg/tree-ssa/builtin-sprintf-warn-2.c: Fix xfail pattern. diff --git a/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-warn-4.c b/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-warn-4.c index 944c36e242c..9fff2acb167 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-warn-4.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-warn-4.c @@ -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");