https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63943
Eric Gallager <egallager at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dmalcolm at gcc dot gnu.org, | |egallager at gcc dot gnu.org --- Comment #5 from Eric Gallager <egallager at gcc dot gnu.org> --- (In reply to Manuel López-Ibáñez from comment #4) > (In reply to Martin Sebor from comment #3) > > As for using %K, I mostly agree. I actually have %G in my tree, but my goal > > is to get rid of both and replace them with a new warning function like so: > > https://gcc.gnu.org/pipermail/gcc-patches/2021-January/563862.html > > and replace calls to warning() and warning_at() in the middle end with those > > to the new function. This makes it possible to control warnings at any > > point in the lining stack and resolves bug like pr98871. > > That is great. It may be worth CCing David Malcolm, since he is the > diagnostics maintainer. OK, done