Commit 12c763c6 by Richard Biener

testsuite/93697 fix inconsistent warning in testcase

The warning was emitted inconsistently on targets, so disable it since
the testcase was for an ICE.

2020-02-12  Richard Biener  <rguenther@suse.de>

	PR testsuite/93697
	* gcc.dg/pr93661.c: Pass -w, remove dg-warning.
parent 4d2248be
2020-02-12 Richard Biener <rguenther@suse.de>
PR testsuite/93697
* gcc.dg/pr93661.c: Pass -w, remove dg-warning.
2020-02-11 David Malcolm <dmalcolm@redhat.com> 2020-02-11 David Malcolm <dmalcolm@redhat.com>
PR analyzer/93288 PR analyzer/93288
......
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-options "-O2" } */ /* { dg-options "-O2 -w" } */
int f () int f ()
{ {
unsigned x = 0xffffffff; 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); return (x != 0xf0000000);
} }
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