https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121091

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Simplified testcase:
```
#include "arm_sve.h"
svbool_t e(int mode) {
    svbool_t pg;
    switch (mode) {
        case 0:
            pg = svptrue_pat_b16(SV_VL6);
            break;
        case 1:
            pg = svpfalse_b();
            break;
        case 2:
            pg = svptrue_pat_b16(SV_VL2);
            break;
    }
  return pg;
}
```

Reply via email to