[Bug c/58488] -Wuninitialized is useless for a variable whose address is later taken

2013-10-30 Thread law at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58488 Jeffrey A. Law changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c/58488] -Wuninitialized is useless for a variable whose address is later taken

2013-10-13 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58488 Manuel López-Ibáñez changed: What|Removed |Added CC||mimomorin at gmail dot com --- Comm

[Bug c/58488] -Wuninitialized is useless for a variable whose address is later taken

2013-09-23 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58488 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #4 f

[Bug c/58488] -Wuninitialized is useless for a variable whose address is later taken

2013-09-23 Thread eblake at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58488 --- Comment #3 from Eric Blake --- Since the engine is able to warn at -O0 when I _don't_ take the address, I don't see why the warning is lost by the mere action of taking the address.

[Bug c/58488] -Wuninitialized is useless for a variable whose address is later taken

2013-09-22 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58488 --- Comment #2 from Manuel López-Ibáñez --- 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; }

[Bug c/58488] -Wuninitialized is useless for a variable whose address is later taken

2013-09-22 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58488 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org