From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 93EFAC433B4 for ; Mon, 3 May 2021 00:58:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6A7D461359 for ; Mon, 3 May 2021 00:58:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232774AbhECA7c (ORCPT ); Sun, 2 May 2021 20:59:32 -0400 Received: from gate.crashing.org ([63.228.1.57]:40589 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232766AbhECA7c (ORCPT ); Sun, 2 May 2021 20:59:32 -0400 Received: from gate.crashing.org (localhost.localdomain [127.0.0.1]) by gate.crashing.org (8.14.1/8.14.1) with ESMTP id 1430j0Yc013128; Sun, 2 May 2021 19:45:00 -0500 Received: (from segher@localhost) by gate.crashing.org (8.14.1/8.14.1/Submit) id 1430ivVE013125; Sun, 2 May 2021 19:44:57 -0500 X-Authentication-Warning: gate.crashing.org: segher set sender to segher@kernel.crashing.org using -f Date: Sun, 2 May 2021 19:44:57 -0500 From: Segher Boessenkool To: Joe Perches Cc: Miguel Ojeda , Masahiro Yamada , Albert Ou , Arnd Bergmann , Linux Kbuild mailing list , Greg Kroah-Hartman , Jonathan Corbet , Linux Doc Mailing List , linux-kernel , Linus Torvalds , Palmer Dabbelt , Paul Walmsley , Catalin Marinas , Miguel Ojeda , Paul Mackerras , linux-riscv@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, Will Deacon , Linux ARM Subject: Re: [PATCH] Raise the minimum GCC version to 5.2 Message-ID: <20210503004457.GI10366@gate.crashing.org> References: <20210501151538.145449-1-masahiroy@kernel.org> <3943bc020f6227c8801907317fc113aa13ad4bad.camel@perches.com> <20210502183030.GF10366@gate.crashing.org> <81a926a3bdb70debe3ae2b13655ea8d249fb9991.camel@perches.com> <20210502203253.GH10366@gate.crashing.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Precedence: bulk List-ID: X-Mailing-List: linux-doc@vger.kernel.org On Sun, May 02, 2021 at 02:23:01PM -0700, Joe Perches wrote: > On Sun, 2021-05-02 at 15:32 -0500, Segher Boessenkool wrote: > > On Sun, May 02, 2021 at 01:00:28PM -0700, Joe Perches wrote: > [] > > > Perhaps 8 might be best as that has a __diag warning control mechanism. > > > > I have no idea what you mean? > > ? read the last bit of compiler-gcc.h Ah, you mean #pragma GCC diagnostic (which has existed since GCC 4.2). Does anything in this __diag stuff require GCC 8? Other than that this is hardcoded here :-) Segher