https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124489 --- Comment #5 from Marek Polacek <mpolacek at gcc dot gnu.org> --- If you really want, I can do it, but I don't think I would bother backporting such a small diagnostic-only fix.