https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102957

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Kito Cheng <k...@gcc.gnu.org>:

https://gcc.gnu.org/g:abe562bb01479ea2c8952ad98714f3225527aa7e

commit r12-5062-gabe562bb01479ea2c8952ad98714f3225527aa7e
Author: Kito Cheng <kito.ch...@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.

Reply via email to