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...

Reply via email to