https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119114
--- Comment #10 from Robin Dapp <rdapp at gcc dot gnu.org> --- The test passes with -fno-vrp, so maybe the optimized tree isn't correct after all? Folding statement: _157 = _26 ? -1 : 0; Matching expression match.pd:161, gimple-match-10.cc:33 Matching expression match.pd:2310, gimple-match-2.cc:20 Applying pattern match.pd:2235, gimple-match-8.cc:5333 Applying pattern match.pd:6045, gimple-match-9.cc:25541 gimple_simplified to _121 = (<signed-boolean:1>) _25; But somehow I'm also suspecting the bitmask vec_extract...