https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98697
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- it looks like unpack from short int to int is not supported? That is, the usual issue is that a[i] << b[i] is a shift of int << ... because of C integral promotion rules.