Re: [r11-6232 Regression] FAIL: gcc.dg/pr97750.c

Adjust testcase to not actually check for an undefined warning since we
don't really care about it, or what line it is issued on.

	gcc/testsuite/
	* gcc.dg/pr97750.c: Remove check for warning.
This commit is contained in:
Andrew MacLeod
2020-12-18 17:05:18 -05:00
parent 8b60459465
commit 0e9f2b2dc8

View File

@@ -14,8 +14,8 @@ void CopyFromUswc(long src_pitch) {
for (; CopyFromUswc_height;) {
unsigned unaligned = (long)CopyFromUswc_src;
if (unaligned)
CopyPlane(&dst[unaligned]); /* { dg-warning "may be used uninitialized" } */
CopyPlane(&dst[unaligned]);
CopyFromUswc_src += src_pitch;
}
}
/* { dg-prune-output "-Wmaybe-uninitialized" } */