On 11/25/25 11:26 PM, Zhongyao Chen wrote:
This reverts commit 79b8f23a709.
Revert temporarily due to compatibility issues discussed in:
https://github.com/riscv-non-isa/riscv-c-api-doc/pull/128
We will wait for this Pull Request to reach consensus and be merged before
resubmitting a new patch.
gcc/ChangeLog:
* common/config/riscv/riscv-common.cc
(riscv_subset_list::get_profile_name):
Revert.
* config/riscv/riscv-c.cc (riscv_cpu_cpp_builtins): Revert.
* config/riscv/riscv-subset.h (riscv_subset_list::get_profile_name):
Revert.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/predef-profiles-1.c: Remove.
* gcc.target/riscv/predef-profiles-2.c: Remove.
* gcc.target/riscv/predef-profiles-3.c: Remove.
* gcc.target/riscv/predef-profiles-4.c: Remove.
* gcc.target/riscv/predef-profiles-5.c: Remove.
* gcc.target/riscv/predef-profiles-6.c: Remove.
* gcc.target/riscv/predef-profiles-7.c: Remove.
* gcc.target/riscv/predef-profiles-8.c: Remove.
Signed-off-by: Zhongyao Chen <[email protected]>
Thanks. I've reverted the change until we reach a consensus on the
c-abi PR.
jeff