From: Jakub Jelinek Date: Fri, 23 Nov 2018 21:13:44 +0000 (+0100) Subject: re PR tree-optimization/87756 (missing unterminated argument warning using address... X-Git-Tag: upstream/12.2.0~27857 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0c3aba0cb88b1cbdc7eaf211c269e05cec7d2683;p=platform%2Fupstream%2Fgcc.git re PR tree-optimization/87756 (missing unterminated argument warning using address of a constant character) PR tree-optimization/87756 * gcc.dg/builtin-memchr-2.c: Scan the gimple dump instead of optimized. * gcc.dg/builtin-memchr-3.c: Likewise. From-SVN: r266420 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index eba7f5e..982d89d 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2018-11-23 Jakub Jelinek + + PR tree-optimization/87756 + * gcc.dg/builtin-memchr-2.c: Scan the gimple dump instead of + optimized. + * gcc.dg/builtin-memchr-3.c: Likewise. + 2018-11-23 Martin Sebor PR tree-optimization/87756 diff --git a/gcc/testsuite/gcc.dg/builtin-memchr-2.c b/gcc/testsuite/gcc.dg/builtin-memchr-2.c index 65f9d9c..9797960 100644 --- a/gcc/testsuite/gcc.dg/builtin-memchr-2.c +++ b/gcc/testsuite/gcc.dg/builtin-memchr-2.c @@ -52,4 +52,4 @@ void test_memchr_cst_char (void) A (!memchr (&sarr[1].c, 0, 1)); } -/* { dg-final { scan-tree-dump-not "abort" "optimized" } } */ +/* { dg-final { scan-tree-dump-not "abort" "gimple" } } */ diff --git a/gcc/testsuite/gcc.dg/builtin-memchr-3.c b/gcc/testsuite/gcc.dg/builtin-memchr-3.c index b891e53..c405e8d 100644 --- a/gcc/testsuite/gcc.dg/builtin-memchr-3.c +++ b/gcc/testsuite/gcc.dg/builtin-memchr-3.c @@ -69,4 +69,4 @@ void test_memchr_cst_char (void) A (!memchr (psarr1c, 0, 1)); } -/* { dg-final { scan-tree-dump-not "abort" "optimized" } } */ +/* { dg-final { scan-tree-dump-not "abort" "gimple" } } */