https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87678 --- Comment #2 from Segher Boessenkool <segher at gcc dot gnu.org> --- This is a much more general problem in combine. In general it only tries once, and it only tries the fully simplified form, including known bit values etc.