https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69416
--- Comment #6 from Wilco <wdijkstr at arm dot com> --- (In reply to Andrew Pinski from comment #4) > Actually I think the problem is (const_int 8 [0x8]) does that make sense > for CC mode? I don't think it does. It should make sense as a CCmode immediate. It relies on CCmode being treated as an opaque type rather than an integer type. There are checks in several places that block simplifications on CCmode, but I guess there are some missing - it's the first time if_then_else has a CCmode result...