differently, therefore the first found uninitialized use is different from
before the patch. Hence I'm checking in this patch as obvious.
Ciao,
Michael.
--
* c-c++-common/uninit-17.c: Adjust.
===================================================================
@@ -11,9 +11,9 @@ static void bar(int a, int *ptr)
{
int b; /* { dg-message "declared" } */
if (b < 40) {
- ptr[0] = b; /* { dg-warning "may be used uninitialized" } */
+ ptr[0] = b;
}
- b += 1;
+ b += 1; /* { dg-warning "may be used uninitialized" } */
ptr++;
}
while (--a != 0);