]> git.ipfire.org Git - thirdparty/gcc.git/commit
testsuite: Add tests for PR118149
authorChristoph Müllner <christoph.muellner@vrull.eu>
Fri, 20 Dec 2024 13:46:51 +0000 (14:46 +0100)
committerChristoph Müllner <christoph.muellner@vrull.eu>
Fri, 20 Dec 2024 20:04:53 +0000 (21:04 +0100)
commit7c50564627e42c619cc64c09cce8a42fd7932166
treebbe111f7295d375cc320fc79b480fec12f0db9b9
parentaed4a2689dbc8ea7e60c1fab9e7f455d99e632b7
testsuite: Add tests for PR118149

A recent bugfix (eee2891312) for PR117830 also addressed PR118149.
This patch adds two test cases for PR118149.
These tests are different than other tests in that one of the
vec-perm selectors contains indices in descending order (1, 1, 0, 0),
which is the root cause for the ICE observed in PR118149.

PR118149

gcc/testsuite/ChangeLog:

* gcc.dg/tree-ssa/pr118149-2.c: New test.
* gcc.dg/tree-ssa/pr118149.c: New test.

Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
gcc/testsuite/gcc.dg/tree-ssa/pr118149-2.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/pr118149.c [new file with mode: 0644]