https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110066
--- Comment #11 from Aurelien Jarno <aurelien at aurel32 dot net> --- I have bisected the issue, and I found it has been introduced by the following commit: commit 3cd08f7168c196d7a481b9ed9f4289fd1f14eea8 Author: Andreas Schwab <sch...@suse.de> Date: Wed Jan 25 12:00:09 2023 +0100 riscv: Enable -fasynchronous-unwind-tables by default on Linux This follows the example of aarch64. gcc/: * common/config/riscv/riscv-common.cc (riscv_option_optimization_table) [TARGET_DEFAULT_ASYNC_UNWIND_TABLES]: Enable -fasynchronous-unwind-tables and -funwind-tables. * config.gcc (riscv*-*-linux*): Define TARGET_DEFAULT_ASYNC_UNWIND_TABLES.