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-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0c3aba0cb88b1cbdc7eaf211c269e05cec7d2683;p=gcc.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 eba7f5ed3cd..982d89d13c2 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 65f9d9ca700..97979609008 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 b891e536215..c405e8d1736 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" } } */