https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94535
--- Comment #13 from Alisdair Meredith <alisdairm at me dot com> --- As this has shipped for two releases now (gcc9 and 10) I recommend closing as Works As Designed, citing C standard paper N2322 as reason for the change.