https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68669
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |manu at gcc dot gnu.org --- Comment #5 from Manuel López-Ibáñez <manu at gcc dot gnu.org> --- (In reply to Markus Trippelsdorf from comment #3) > gcc-6 doesn't warn at all (even without the "diagnostic ignored" pragma). Even with an explicit -Wunused-variable? Does the warning call in the gcc-5 branch contain %q+D? Does it work correctly if you change it to %qD?