[Bug middle-end/123175] [14/15/16/17 Regression] Wrong folding of VEC_PERM_EXPR

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Aug 6 12:16:06 GMT 2026


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

--- Comment #21 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rguenth@gcc.gnu.org>:

https://gcc.gnu.org/g:14b226ada8ddae0f49656b869309b57958cb24f5

commit r17-3033-g14b226ada8ddae0f49656b869309b57958cb24f5
Author: Richard Biener <rguenther@suse.de>
Date:   Thu Aug 6 13:22:06 2026 +0200

    middle-end/123175 - fix vec_perm_indices construction in selftests

    The two mixed VLA / non-VLA tests happen to mix up the number of
    element argument to vec_perm_indices construction.

            PR middle-end/123175
            * fold-const.cc (test_vnx4si_v4si): Fixup vec_perm_indices
            construction.
            (test_v4si_vnx4si): Likewise.


More information about the Gcc-bugs mailing list