[Bug target/102957] [riscv64] ICE on bogus -march value
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Mar 28 06:43:18 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102957
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-11 branch has been updated by Kito Cheng <kito@gcc.gnu.org>:
https://gcc.gnu.org/g:40e9979cf531e6a1ca1db8804c80e40e0e71de4c
commit r11-9700-g40e9979cf531e6a1ca1db8804c80e40e0e71de4c
Author: Kito Cheng <kito.cheng@sifive.com>
Date: Mon Nov 8 22:45:49 2021 +0800
[PR/target 102957] Allow Z*-ext extension with only 2 char.
We was assume the Z* extension should be more than 2 char, so we put an
assertion there, but it should just an error or warning rather than an
assertion, however RISC-V has add `Zk` extension, which just 2 char, so
actually, we should just allow that.
gcc/ChangeLog
PR target/102957
* common/config/riscv/riscv-common.c (multi_letter_subset_rank):
Remove
assertion for Z*-ext.
gcc/testsuite/ChangeLog
* gcc.target/riscv/pr102957.c: New.
(cherry picked from commit abe562bb01479ea2c8952ad98714f3225527aa7e)
More information about the Gcc-bugs
mailing list