The warning was emitted inconsistently on targets, so disable it since the testcase was for an ICE.
2020-02-12 Richard Biener <rguent...@suse.de> PR testsuite/93697 * gcc.dg/pr93661.c: Pass -w, remove dg-warning. --- gcc/testsuite/gcc.dg/pr93661.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/gcc.dg/pr93661.c b/gcc/testsuite/gcc.dg/pr93661.c index e311ba545c4..bc77fcab69e 100644 --- a/gcc/testsuite/gcc.dg/pr93661.c +++ b/gcc/testsuite/gcc.dg/pr93661.c @@ -1,9 +1,9 @@ /* { dg-do compile } */ -/* { dg-options "-O2" } */ +/* { dg-options "-O2 -w" } */ int f () { unsigned x = 0xffffffff; - __builtin_memset (1+(char *) &x, 0, -1); /* { dg-warning "maximum object size" } */ + __builtin_memset (1+(char *) &x, 0, -1); return (x != 0xf0000000); } -- 2.16.4