https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92176
--- Comment #7 from Andreas Krebbel <krebbel at gcc dot gnu.org> --- Created attachment 47432 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47432&action=edit Updated testcase This is an updated testcase with the changes I propose. Your testcase works fine. However, I would propose two minor adjustments: - add -mzarch to enable the vector instructions also in a testsuite run with -m31. The testcase does not trigger the problem on -m31 for other reasons but that way it would at least have to the chance to. - scan also for the element index in vsteb to be 0. With the proper index there is a chance that code with vsteb is actually correct.