https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101833
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Known to fail| |10.3.0, 11.2.0, 12.0 --- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> --- The warning is issued when the declaration is seen (either with -Wall or with just -Wattributes). The ICE is a side-effect of -Wformat checking calls to the function.