https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91380
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic --- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- Yes, the fact Clang bothers to warn about it suggests this is a mistake that's been made at least once before.