https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118739
--- Comment #9 from Uroš Bizjak <ubizjak at gmail dot com> --- (In reply to Andrew Pinski from comment #7) > So r115's value will be 0 or 1 (STORE_FLAG_VALUE) so (gt:QI r115 0) is the > same as (subreg:QI r115). Unless I am missing something here. No, you are right. Taking into account possible values of r115, the conversion is OK.