X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=init%2FKconfig;h=2028ed4d50f5b5d8850d08aad0bc100380339ee8;hb=refs%2Fheads%2Fsandbox%2Flstelmach%2Fvirgl;hp=94125d3b6893c7b49e22980021cae305522db2ae;hpb=715d2d960871c238e5860d121ba9735e7f6a7ff1;p=platform%2Fkernel%2Flinux-starfive.git diff --git a/init/Kconfig b/init/Kconfig index 94125d3..2028ed4 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -892,14 +892,14 @@ config CC_IMPLICIT_FALLTHROUGH default "-Wimplicit-fallthrough=5" if CC_IS_GCC && $(cc-option,-Wimplicit-fallthrough=5) default "-Wimplicit-fallthrough" if CC_IS_CLANG && $(cc-option,-Wunreachable-code-fallthrough) -# Currently, disable gcc-12 array-bounds globally. -# We may want to target only particular configurations some day. -config GCC12_NO_ARRAY_BOUNDS +# Currently, disable gcc-11+ array-bounds globally. +# It's still broken in gcc-13, so no upper bound yet. +config GCC11_NO_ARRAY_BOUNDS def_bool y config CC_NO_ARRAY_BOUNDS bool - default y if CC_IS_GCC && GCC_VERSION >= 120000 && GCC_VERSION < 130000 && GCC12_NO_ARRAY_BOUNDS + default y if CC_IS_GCC && GCC_VERSION >= 110000 && GCC11_NO_ARRAY_BOUNDS # # For architectures that know their GCC __int128 support is sound