https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95531
--- Comment #5 from Segher Boessenkool <segher at gcc dot gnu.org> --- Various things can change the comparison mode. simplify_compare_const is the most prominent example (hrm, maybe the only one now?)