From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 97509 invoked by alias); 22 Jan 2016 13:49:25 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 97233 invoked by uid 89); 22 Jan 2016 13:49:24 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=Speedup, stdlib, poisoning X-HELO: mx2.suse.de Received: from mx2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Fri, 22 Jan 2016 13:49:24 +0000 Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id D711FACD0; Fri, 22 Jan 2016 13:49:19 +0000 (UTC) Date: Fri, 22 Jan 2016 13:49:00 -0000 From: Michael Matz To: Oleg Endo cc: Richard Biener , GCC Patches Subject: Re: Speedup configure and build with system.h In-Reply-To: <1453464154.3681.84.camel@t-online.de> Message-ID: References: <1453464154.3681.84.camel@t-online.de> User-Agent: Alpine 2.20 (LSU 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-IsSubscribed: yes X-SW-Source: 2016-01/txt/msg01748.txt.bz2 Hi, On Fri, 22 Jan 2016, Oleg Endo wrote: > and have been put into system.h because there have > been problems with malloc poisoning and C++ stdlib implementation other > than libstdc++, which sometimes pull other headers which then cause > trouble. The fix for this set of errors was to include some of the > stdlib headers in system.h before anything else. Richard meant to remove use of std::string in the compiler, at which point it's not necessary to include anywhere, in system.h or whereever. That's a separate discussion, though (I would agree with it). Ciao, Michael.