https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111534
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|UNCONFIRMED |RESOLVED --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- _5 = BIT_FIELD_REF <_1, 8, 0>; _6 = _5 != 0; _7 = _5 == 0; _8 = (signed char) _7; _9 = (signed char) _5; _10 = _9 + -1; It is the same. >here only a target option impacts the behavior Because -mgeneral-regs-only basically is -mno-sse which also shows the issue. Basicaly is the lowering of the vector comparison (combined with the referenced match pattern in the other bug report) which is causing the issue. *** This bug has been marked as a duplicate of bug 110817 ***