[Bug c/58488] -Wuninitialized is useless for a variable whose address is later taken
manu at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Sep 22 15:04:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58488
--- Comment #2 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
Note that this has nothing to do with the fact that the uninitialized var is a
pointer:
void test(char);
int main(void) {
char oops;
test(oops);
char *other = &oops;
return !other;
}
More information about the Gcc-bugs
mailing list