PATCH v1: <https://gcc.gnu.org/pipermail/gcc-patches/2022-April/593522.html>
Changes between v1 and v2: - Added Signed-off-by line (I didn't notice that this is required) - Applied the same change to Python script: gcc/config/riscv/arch-canonicalize Note that this kind of change is already made in GNU Binutils and LLVM. GNU Binutils: commit c4dd8eb523fae5c9d312f4b7b21377eec66e70c3 LLVM: commit 7fe0630fcb6d52cb63463669c47f4846f7d9ccbf Tsukasa OI (1): RISC-V: Fix canonical extension order (K and J) gcc/common/config/riscv/riscv-common.cc | 2 +- gcc/config/riscv/arch-canonicalize | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) base-commit: a60228404f2ac11b5eb66270037ff3fa6bf948e5 -- 2.34.1