https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87542
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Known to work| |9.0 Resolution|--- |FIXED Summary|[7/8/9 Regression] bogus |[7/8 Regression] bogus |error on attribute format |error on attribute format |with a named constant |with a named constant |argument |argument Known to fail| |6.4.0, 7.3.0, 8.2.0 --- Comment #4 from Martin Sebor <msebor at gcc dot gnu.org> --- Fixed for GCC 9 in r266195. Since the patch also introduces a warning for (invalid) code that was previously silently accepted (pr87533) I'm not planning to backport it.