https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121985
--- Comment #9 from Robin Dapp <rdapp at gcc dot gnu.org> --- I just ran into this issue while working on some gather/scatter simplification. Going to look into it once the VLS work has calmed down.
