https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94337
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- The warning only looks at the single expression it quotes which isn't really enough to discover you are doing right. It tries to be helpful - if you know better then disable the warning.