https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63943
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |msebor at gcc dot gnu.org Last reconfirmed|2014-11-19 00:00:00 |2021-3-31 Known to fail|4.9.2, 5.0 |10.2.0, 11.0, 4.9.4, 5.5.0, | |6.4.0, 7.2.0, 8.3.0, 9.1.0 --- Comment #3 from Martin Sebor <msebor at gcc dot gnu.org> --- Reconfirmed with GCC 11 with mostly the same observations as in comment #1. 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.