Re: [PATCH 08/10] Makefile: drop GCC < 5 -fno-var-tracking-assignments workaround

From: Nathan Chancellor
Date: Fri Sep 10 2021 - 20:11:11 EST


On Fri, Sep 10, 2021 at 04:40:45PM -0700, Nick Desaulniers wrote:
> Now that GCC 5.1 is the minimally supported version, we can drop this
> workaround for older versions of GCC.
>
> Signed-off-by: Nick Desaulniers <ndesaulniers@xxxxxxxxxx>

Reviewed-by: Nathan Chancellor <nathan@xxxxxxxxxx>

> ---
> Makefile | 6 ------
> 1 file changed, 6 deletions(-)
>
> diff --git a/Makefile b/Makefile
> index 2d1e491f7737..f9ef07f573e0 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -849,12 +849,6 @@ endif
>
> DEBUG_CFLAGS :=
>
> -# Workaround for GCC versions < 5.0
> -# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61801
> -ifdef CONFIG_CC_IS_GCC
> -DEBUG_CFLAGS += $(call cc-ifversion, -lt, 0500, $(call cc-option, -fno-var-tracking-assignments))
> -endif
> -
> ifdef CONFIG_DEBUG_INFO
>
> ifdef CONFIG_DEBUG_INFO_SPLIT
> --
> 2.33.0.309.g3052b89438-goog
>
>