https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88953
--- Comment #4 from Andreas Krebbel <krebbel at gcc dot gnu.org> --- Looks like a problem which was fixed with r265158: S/390: Fix problem with vec_init expander gcc/ChangeLog: 2018-10-15 Andreas Krebbel <kreb...@linux.ibm.com> * config/s390/s390.c (s390_expand_vec_init): Force vector element into reg if it isn't a general operand. gcc/testsuite/ChangeLog: 2018-10-15 Andreas Krebbel <kreb...@linux.ibm.com> * g++.dg/vec-init-1.C: New test. I've backported the patch to GCC 7 and 8 branch on 2018-10-19. Canonical is aware of the problem and will pick the patch up for their next GCC updates. Could you please check whether this fixes your problem?