]> git.ipfire.org Git - thirdparty/gcc.git/commit
RISC-V: Add test cases for insn does not satisfy its constraints [PR114714]
authorPan Li <pan2.li@intel.com>
Thu, 25 Apr 2024 07:04:02 +0000 (15:04 +0800)
committerPan Li <pan2.li@intel.com>
Thu, 25 Apr 2024 10:14:28 +0000 (18:14 +0800)
commitaf7d981ba40f145256f6f6d3409451e8fa647f75
tree62764809dfe6ce49f50654a47b972b91ae3d7a8c
parent10ad46bc191f8aa90b0d7b00963bfd52c6d7b09c
RISC-V: Add test cases for insn does not satisfy its constraints [PR114714]

We have one ICE when RVV register overlap is enabled.  We reverted this
feature as it is in stage 4 and there is no much time to figure a better
solution for this.  Thus, for now add the related test cases which will
trigger ICE when register overlap enabled.

This will gate the RVV register overlap support in GCC-15.

PR target/114714

gcc/testsuite/ChangeLog:

* g++.target/riscv/rvv/base/pr114714-1.C: New test.
* g++.target/riscv/rvv/base/pr114714-2.C: New test.

Signed-off-by: Pan Li <pan2.li@intel.com>
Co-Authored-by: Kito Cheng <kito.cheng@sifive.com>
gcc/testsuite/g++.target/riscv/rvv/base/pr114714-1.C [new file with mode: 0644]
gcc/testsuite/g++.target/riscv/rvv/base/pr114714-2.C [new file with mode: 0644]