https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110089
--- Comment #5 from Uroš Bizjak <ubizjak at gmail dot com> --- The important pattern in i386.md is *sub<mode>2, which allows CCGOCmode compare. This means that garbage in Overlow and Carry flags are allowed. In ix86_cc_modes_compatible, CCmode is returned for combination of CCCmode and CCZmode. This is admittely not optimal, but it was OK untill now for testing of separate bits. Maybe we should add new combined mode for CCZ and CCC flags?