https://gcc.gnu.org/bugzilla/show_bug.cgi?id=129022
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|c |tree-optimization
Known to work| |15.3.0
Ever confirmed|0 |1
Keywords| |wrong-code
Last reconfirmed| |2026-11-25
Status|UNCONFIRMED |NEW
Known to fail| |16.2.0, 17.0
Target Milestone|--- |16.3
Summary|[fold-const] wrong code at |[16/17
|-O3 -march=znver4: |Regression][fold-const]
|VIEW_CONVERT_EXPR folding |wrong code at -O3
|of a constant AVX-512 mask |-march=znver4:
|to a 4-lane mask uses 2-bit |VIEW_CONVERT_EXPR folding
|elements, turning |of a constant AVX-512 mask
|{-1,-1,0,0,...} into |to a 4-lane mask uses 2-bit
|{-1,-1,-1,-1} in a masked |elements, turning
|epilogue |{-1,-1,0,0,...} into
| |{-1,-1,-1,-1} in a masked
| |epilogue
Priority|P3 |P2
Target| |x86_64-*-*
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed.