https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104219
--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-11 branch has been updated by Kito Cheng <k...@gcc.gnu.org>: https://gcc.gnu.org/g:9871d39f752bc9c114ed694662a519d04896f491 commit r11-9644-g9871d39f752bc9c114ed694662a519d04896f491 Author: Kito Cheng <kito.ch...@sifive.com> Date: Tue Jan 25 20:44:04 2022 +0800 RISC-V: Always pass -misa-spec to assembler [PR104219] Add -misa-spec to OPTION_DEFAULT_SPECS to make sure -misa-spec will always pass that into assembler, that prevent GCC and binutils using different way to interpret the ISA string. gcc/ChangeLog: PR target/104219 * config.gcc (riscv*-*-*): Normalize the with_isa_spec value. (all_defaults): Add isa_spec. * config/riscv/riscv.h (OPTION_DEFAULT_SPECS): Add isa_spec. (cherry picked from commit 06e32a5ebf20c11dd31bc2677bede569fef84316)