https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109973
Roger Sayle <roger at nextmovesoftware dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |NEW
Summary|[13/14 Regression] Wrong |[13 Regression] Wrong code
|code for AVX2 since 13.1 by |for AVX2 since 13.1 by
|combining VPAND and VPTEST |combining VPAND and VPTEST
|since |since
|r13-2006-ga56c1641e9d25e |r13-2006-ga56c1641e9d25e
--- Comment #11 from Roger Sayle <roger at nextmovesoftware dot com> ---
This issue is now fixed on mainline for GCC 14, and a backport of the relevant
bits (minimum viable fix) for GCC 13 was proposed here
https://gcc.gnu.org/pipermail/gcc-patches/2023-June/621256.html