From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 86245 invoked by alias); 22 Nov 2019 22:02:02 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 86236 invoked by uid 89); 22 Nov 2019 22:02:01 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=packs, fly, announced, acceptable X-HELO: gate.crashing.org Received: from gate.crashing.org (HELO gate.crashing.org) (63.228.1.57) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 22 Nov 2019 22:01:58 +0000 Received: from gate.crashing.org (localhost.localdomain [127.0.0.1]) by gate.crashing.org (8.14.1/8.14.1) with ESMTP id xAMM1jWY001126; Fri, 22 Nov 2019 16:01:46 -0600 Received: (from segher@localhost) by gate.crashing.org (8.14.1/8.14.1/Submit) id xAMM1hTk001125; Fri, 22 Nov 2019 16:01:43 -0600 Date: Fri, 22 Nov 2019 22:02:00 -0000 From: Segher Boessenkool To: Andrew Dean Cc: Richard Biener , Jeff Law , Gabriel Dos Reis , David Malcolm , "gcc@gcc.gnu.org" , "ro@CeBiTec.Uni-Bielefeld.DE" , "mikestump@comcast.net" , "jason@redhat.com" , Jonathan Wakely Subject: Re: GCC selftest improvements Message-ID: <20191122220143.GH9491@gate.crashing.org> References: <20191028202713.GF28442@gate.crashing.org> <00dcb1c4-793c-c44f-da1b-eabe067c7e1e@redhat.com> <20191028221203.GG28442@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 X-IsSubscribed: yes X-SW-Source: 2019-11/txt/msg00192.txt.bz2 On Fri, Nov 22, 2019 at 09:02:05PM +0000, Andrew Dean wrote: > > > Many systems do not have a system compiler newer than this *four years > > > old* one. GCC 4.8 is the first GCC version that supports all of > > > C++11, which is the only reason it would be even near acceptable to > > > require something this *new*. > > > > Agreed. Note we're even shipping new service packs for SLE12 which has that > > "ancient" compiler version (OTOH there _is_ a fully supported GCC 9 available > > for SLE12 as well). > > > > So, if we want C++11 then fine. But requiring GCC 9+ isn't going to fly. IIRC > > GCC 6 is first having -std=c++14 by default, but unless there's a compelling > > reason to use C++14 in GCC I'd rather not do it at this point. > > > > Removing all the workarounds in the tree we have for GCC 4.[12].x would of > > course be nice. > > > > But I have to update the testers that still use GCC 4.1.x as host compiler :P > Richard/Segher: Are we in agreement that we can move forward with updating to c++11 as the minimum version? I have made the simple change locally to modify the flag and verified that I got the exact same test results with/without the change. I can look into the work to add a configuration warning if the compiler doesn't support c++11, but wanted to make sure we are on the same page before doing so. If GCC 4.8.5 works as bootstrap compiler, it is fine with me, and good progress too. (Which means 4.8.5 has to work for at least all primary targets.) Some targets may have other concerns though. This needs to be announced widely, and people given time to protest? Segher