[Bug middle-end/50950] warning missed when OR'ing to an uninitialized variable
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Nov 2 09:50:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50950
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-11-02 09:49:45 UTC ---
A dup actually (fixed on trunk):
t.c: In function 'f0':
t.c:14:5: warning: 'x' is used uninitialized in this function [-Wuninitialized]
t.c: In function 'f1':
t.c:22:11: warning: 'x.i32.i' is used uninitialized in this function
[-Wuninitialized]
t.c: In function 'ff1':
t.c:30:5: warning: 'x' is used uninitialized in this function [-Wuninitialized]
t.c: In function 'ff2':
t.c:40:11: warning: 'y.i32.i' is used uninitialized in this function
[-Wuninitialized]
even better than for 4.4.
*** This bug has been marked as a duplicate of bug 50040 ***
More information about the Gcc-bugs
mailing list