#include struct test { int one; int two; }; void func2(const struct test *t) { if (t->one == 0) printf("init func2\n"); if (t->two == 0) /* { dg-warning "uninitialized" } */ printf("uninit func2\n"); } void func1(struct test *t) { t->one = 1; func2(t); } int func3(int num) { if (num) return num; else return 0; } void func4(int *a, int max) { int i; // skip the first for (i=1; i