https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94389
--- Comment #5 from Segher Boessenkool <segher at gcc dot gnu.org> --- The language frontend shouldn't do this kind of code transformations, whether you think the warning should warn or not here, imo.