On Fri, Nov 23, 2018 at 11:46:18AM -0700, Martin Sebor wrote: > I have now committed this patch as r266418.
Two of the tests fail everywhere. Fixed thusly, committed as obvious: 2018-11-23 Jakub Jelinek <ja...@redhat.com> PR tree-optimization/87756 * gcc.dg/builtin-memchr-2.c: Scan the gimple dump instead of optimized. * gcc.dg/builtin-memchr-3.c: Likewise. --- gcc/testsuite/gcc.dg/builtin-memchr-2.c.jj 2018-11-23 20:00:28.049249627 +0100 +++ gcc/testsuite/gcc.dg/builtin-memchr-2.c 2018-11-23 22:06:08.311932743 +0100 @@ -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" } } */ --- gcc/testsuite/gcc.dg/builtin-memchr-3.c.jj 2018-11-23 20:00:28.071249262 +0100 +++ gcc/testsuite/gcc.dg/builtin-memchr-3.c 2018-11-23 22:06:14.201836822 +0100 @@ -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" } } */ Jakub