Fix gcc.dg/tree-ssa/builtin-sprintf-warn-4.c
authorDavid Malcolm <dmalcolm@redhat.com>
Fri, 23 Sep 2016 16:55:27 +0000 (16:55 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Fri, 23 Sep 2016 16:55:27 +0000 (16:55 +0000)
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

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

index c3aa8c55f2800b6a26bec1940eabd947d3488489..7a853dc33e0b8c9c29ca589b7579de4f3a98375d 100644 (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.
index 944c36e242c410cb170533933995787a1eb6b4b9..9fff2acb16764067029a61c305371fe2d38a3d9c 100644 (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");