https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107485
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=104450 --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I suspect this is almost the same issue as reported in PR 104450 or very similar. The IR in GCC 10 before veclowering: _5 = _2 < _3; <bb 3> : _4 = VEC_COND_EXPR <_5, { -1, -1, -1, -1 }, { 0, 0, 0, 0 }>; While the IR in GCC 11: _4 = _2 < _3; <bb 3> : _5 = _4; _6 = VEC_COND_EXPR <_5, { -1, -1, -1, -1 }, { 0, 0, 0, 0 }>; Notice the extra assignment. It is just hiding the issue.