[Bug c++/74765] missing uninitialized warning (parenthesis, TREE_NO_WARNING abuse)

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Aug 12 12:56:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=74765

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
I wonder if we can somehow "annotate" locations with NO_WARNING
(warning-option)
instead of relying on bits on tree nodes / stmts.  Maybe even as simple as a
global hash_map <location, diag-desc> that could also be used to tack warnings
to locations and emit those only if the location remains in the IL stream
after dead code elimination...


More information about the Gcc-bugs mailing list