diff --git a/toolchain/Config.in b/toolchain/Config.in index a37933bc12..da6bf5f4c8 100644 --- a/toolchain/Config.in +++ b/toolchain/Config.in @@ -257,6 +257,17 @@ config BR2_TOOLCHAIN_HAS_GCC_BUG_110934 bool default y if BR2_m68k +# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111001 +# ICE: on SH4: during RTL pass: sh_treg_combine2 +# This bug exist in gcc = 13.2.0 +config BR2_TOOLCHAIN_HAS_GCC_BUG_111001 + bool + default y if BR2_sh + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_13 + depends on BR2_OPTIMIZE_1 || \ + BR2_OPTIMIZE_2 || \ + BR2_OPTIMIZE_3 + config BR2_TOOLCHAIN_HAS_NATIVE_RPC bool