https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117776
--- Comment #6 from IonuČ› Nicula <nicula.iccc at gmail dot com> --- Good point, my previous title was too generic, while the actual problem seems to be very specific (i.e. related to the even/odd check, like you said).