https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111171
--- Comment #2 from Zdenek Sojka <zsojka at seznam dot cz> --- (In reply to Xi Ruoyao from comment #1) > Can you try > https://gcc.gnu.org/pipermail/gcc-patches/2023-August/627024.html? The patch * combine.cc (simplify_compare_const): Properly handle unsigned constants while narrowing comparison of memory and constants. fixes this ICE on several testcases