]> git.ipfire.org Git - thirdparty/gcc.git/commit
testsuite: Fix vector-subscript-4.c [PR116421]
authorStefan Schulze Frielinghaus <stefansf@gcc.gnu.org>
Fri, 10 Oct 2025 13:02:09 +0000 (15:02 +0200)
committerStefan Schulze Frielinghaus <stefansf@gcc.gnu.org>
Fri, 10 Oct 2025 13:02:09 +0000 (15:02 +0200)
commit08970b2cb27931cf7e28842948b8a96a777be2a3
tree0e6e6807f7409629e5efd94784121d0e7b9d2f72
parent73b3c59677f1676020509c944ef5c41e32bc6d76
testsuite: Fix vector-subscript-4.c [PR116421]

Verify we don't have any vector temporaries in the IL at least until
ISEL which may introduce VEC_EXTRACTs on targets which support
non-constant indices (see PR116421).

As a pass I chose NRV for no particular reason except that it is
literally the last pass prior ISEL.  At least at time of writing this.

gcc/testsuite/ChangeLog:
PR testsuite/116421
* c-c++-common/vector-subscript-4.c: Check for vectors prior
ISEL.
gcc/testsuite/c-c++-common/vector-subscript-4.c