https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120135
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Also the warning is correct. Let me digg into this slightly since I think there is another bug report saying there is a missing warning due to SRA.