]> git.ipfire.org Git - thirdparty/gcc.git/commit
RISC-V: Allow profiles input in '--with-arch' option.
authorJiawei <jiawei@iscas.ac.cn>
Tue, 16 Sep 2025 03:56:05 +0000 (21:56 -0600)
committerJeff Law <jlaw@ventanamicro.com>
Tue, 16 Sep 2025 03:56:05 +0000 (21:56 -0600)
commit41d8c4e150f21a256e2e0553d715f12f48e78636
treef180bdf2cfa260beac4371fdfbb6c77880889739
parent3e59b15a533c0d6398713241d821d44a8bc93195
RISC-V: Allow profiles input in '--with-arch' option.

Allows profiles input in '--with-arch'. Check profiles with
'riscv-profiles.def'.

gcc/ChangeLog:

* config.gcc: Accept RISC-V profiles in `--with-arch`.
* config/riscv/arch-canonicalize: Add profile detection and
skip canonicalization for profiles.
gcc/config.gcc
gcc/config/riscv/arch-canonicalize