https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121538
Bug ID: 121538
Summary: RISC-V: Self tests broken for RV32EC with
r16-3028-g0c517ddf9b136c
Product: gcc
Version: 16.0
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: dimitar at gcc dot gnu.org
Target Milestone: ---
Starting with r16-3028-g0c517ddf9b136c, GCC self tests are broken for RV32EC
with build error:
cc1: error: ILP32E ABI does not support the 'D' extension
Toolchain was configured with:
--target=riscv32-none-elf --with-multilib-generator=rv32ec-ilp32e--
--with-abi=ilp32e --with-arch=rv32ec
The script erroneously adds 'd' extension, even though it is not supported by
rv32ec:
$ ./config/riscv/arch-canonicalize rv32ec
rv32efdc_zicsr_zca_zcd_zcf
Before r16-3028-g0c517ddf9b136c the command returned:
$ ./config/riscv/arch-canonicalize rv32ec
rv32ec