mirror of
https://forge.sourceware.org/marek/gcc.git
synced 2026-02-22 12:00:11 -05:00
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:
@@ -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" } */
|
||||
|
||||
Reference in New Issue
Block a user