https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84905
--- Comment #5 from Eric Gallager <egallager at gcc dot gnu.org> --- (In reply to Martin Sebor from comment #4) > Resolving as Won't Fix based on comment #2. (I will update > gcc-8/changes.html before the release and may update the documentation of > attribute const in the manual with additional detail.) Maybe also add a note to https://gcc.gnu.org/wiki/VerboseDiagnostics