Commit 0c3aba0c by Jakub Jelinek Committed by Jakub Jelinek

re PR tree-optimization/87756 (missing unterminated argument warning using…

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
parent f4c0f888
2018-11-23 Jakub Jelinek <jakub@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.
2018-11-23 Martin Sebor <msebor@redhat.com>
PR tree-optimization/87756
......
......@@ -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" } } */
......@@ -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" } } */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment