https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101466
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to cqwrteur from comment #2) > The --enable-libstdcxx-verbose has side effects, not optimizing to > vectorization code is correct, although Those can be merged still since the arguments to __replacement_assert are all the same, you can change my reduced testcase to do something similar as __replacement_assert really. The problem is the merging of the if don't happen if there is an statement inbetween.