https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107354
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- And even more from https://gcc.gnu.org/bugs/#known : Increment/decrement operator (++/--) not working as expected - a problem with many variations.