[Bug middle-end/19430] taking address of a var causes missing uninitialized warning
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Nov 21 12:16:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19430
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|V_MAY_DEF (taking address |taking address of a var
|of var) causes missing |causes missing
|uninitialized warning |uninitialized warning
Severity|minor |enhancement
--- Comment #24 from Richard Biener <rguenth at gcc dot gnu.org> ---
Well, fact is we still don't have the machinery that warns for the use of
uninitialized memory - and we never had. The cases that work by
accident are for loads that alias-analysis can prove we can move to
the function entry (well, a little less than that).
More information about the Gcc-bugs
mailing list