diff options
author | Kito Cheng <kito.cheng@sifive.com> | 2021-11-08 22:45:49 +0800 |
---|---|---|
committer | Kito Cheng <kito.cheng@sifive.com> | 2021-11-10 00:25:58 +0800 |
commit | abe562bb01479ea2c8952ad98714f3225527aa7e (patch) | |
tree | 0a8d33d47a8a923679bfc7d8c6771b428ad986c7 /gcc/cfgexpand.c | |
parent | 00c9ce13a64e324dabd8dfd236882919a3119479 (diff) | |
download | gcc-abe562bb01479ea2c8952ad98714f3225527aa7e.zip gcc-abe562bb01479ea2c8952ad98714f3225527aa7e.tar.gz gcc-abe562bb01479ea2c8952ad98714f3225527aa7e.tar.bz2 |
[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.
Diffstat (limited to 'gcc/cfgexpand.c')
0 files changed, 0 insertions, 0 deletions