https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116313
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Most likely what happens is that the sequence point warning looks through a SAVE_EXPR which contains `i` but does not realize that is stabilized long time before that expression.