From: Martin Sebor Date: Tue, 27 Aug 2019 16:18:27 +0000 (+0000) Subject: re PR c++/83431 (-Wformat-truncation may incorrectly report truncation) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c8935981ff34d8ed32f81b37aa7a68edf4c53efe;p=gcc.git re PR c++/83431 (-Wformat-truncation may incorrectly report truncation) gcc/testsuite/ChangeLog: PR c++/83431 PR testsuite/91562 * gcc.dg/strlenopt-8.c: Adjust pass/dump name. From-SVN: r274961 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 64970b28f14..9bc1a3f07c3 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2019-08-27 Martin Sebor + + PR c++/83431 + PR testsuite/91562 + * gcc.dg/strlenopt-8.c: Adjust pass/dump name. + 2019-08-27 Jakub Jelinek PR c++/91415 diff --git a/gcc/testsuite/gcc.dg/strlenopt-8.c b/gcc/testsuite/gcc.dg/strlenopt-8.c index f43b809ed02..b47a23b2311 100644 --- a/gcc/testsuite/gcc.dg/strlenopt-8.c +++ b/gcc/testsuite/gcc.dg/strlenopt-8.c @@ -43,8 +43,8 @@ main () return 0; } -/* { dg-final { scan-tree-dump-times "strlen \\(" 0 "strlen" } } */ -/* { dg-final { scan-tree-dump-times "strcpy \\(" 0 "strlen" } } */ -/* { dg-final { scan-tree-dump-times "strcat \\(" 0 "strlen" } } */ -/* { dg-final { scan-tree-dump-times "strchr \\(" 0 "strlen" } } */ -/* { dg-final { scan-tree-dump-times "stpcpy \\(" 0 "strlen" } } */ +/* { dg-final { scan-tree-dump-times "strlen \\(" 0 "strlen1" } } */ +/* { dg-final { scan-tree-dump-times "strcpy \\(" 0 "strlen1" } } */ +/* { dg-final { scan-tree-dump-times "strcat \\(" 0 "strlen1" } } */ +/* { dg-final { scan-tree-dump-times "strchr \\(" 0 "strlen1" } } */ +/* { dg-final { scan-tree-dump-times "stpcpy \\(" 0 "strlen1" } } */