https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68845
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at redhat dot com --- Comment #2 from Manuel López-Ibáñez <manu at gcc dot gnu.org> --- (In reply to Manuel López-Ibáñez from comment #1) > Perhaps the > following works? > > Warray-bounds > Alias(-Warray-bounds=,1,0) To answer my own question. It should work and it is how -Wformat is implemented. However, there is bug 68833.