From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt1-f194.google.com ([209.85.160.194]:42631 "EHLO mail-qt1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387761AbfGYDWR (ORCPT ); Wed, 24 Jul 2019 23:22:17 -0400 Received: by mail-qt1-f194.google.com with SMTP id h18so47696629qtm.9 for ; Wed, 24 Jul 2019 20:22:17 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: [PATCH] asm-generic: fix -Wtype-limits compiler warnings From: Qian Cai In-Reply-To: <14026.1564004959@warthog.procyon.org.uk> Date: Wed, 24 Jul 2019 23:22:14 -0400 Content-Transfer-Encoding: 7bit Message-ID: <209DCEDB-98B4-4D57-8F2C-0B8F0406B5CB@lca.pw> References: <1563993952.11067.15.camel@lca.pw> <1563914986-26502-1-git-send-email-cai@lca.pw> <31573.1563954571@warthog.procyon.org.uk> <14026.1564004959@warthog.procyon.org.uk> Sender: linux-arch-owner@vger.kernel.org List-ID: To: David Howells Cc: Andrew Morton , David Miller , Arnd Bergmann , Jakub Jelinek , Nick Desaulniers , morbo@google.com, jyknight@google.com, natechancellor@gmail.com, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org Message-ID: <20190725032214.q6wIepzCS5Mi7BJstD6Sj_KIlPiomRA5t4Cic1rvDso@z> > On Jul 24, 2019, at 5:49 PM, David Howells wrote: > > Qian Cai wrote: > >> I have GCC 8.2.1 which works fine. > > But you need to check the minimum version, i.e. 4.6: > > #if GCC_VERSION < 40600 > I did check gcc version 4.1.2 20080704 and it works fine.