[Bug middle-end/53917] Wuninitialized warning points to place where variable doesn't occur
dmalcolm at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Dec 23 14:13:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53917
--- Comment #6 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
(In reply to Eric Gallager from comment #4)
> David Malcolm recently greatly improved variable use location info for GCC
> 9; reminder to myself to check to see if that fixed this once I've finished
> building a new GCC with the patch applied...
FWIW godbolt.org has a regularly refreshed version of gcc trunk (and many other
compilers) usable directly in a web browser (--version will tell you at least
the date of the svn revision it was built from).
I suspect the new location wrappers for C++ won't fix this; the warning is
implemented in the middle-end (on the gimple representation), and the new
wrappers may well have been stripped before then. (But they may help with an
eventual fix).
More information about the Gcc-bugs
mailing list