From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 106640 invoked by alias); 27 Feb 2018 23:27:43 -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 106627 invoked by uid 89); 27 Feb 2018 23:27:43 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-11.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,GIT_PATCH_2,GIT_PATCH_3,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mail-lf0-f42.google.com Received: from mail-lf0-f42.google.com (HELO mail-lf0-f42.google.com) (209.85.215.42) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 27 Feb 2018 23:27:42 +0000 Received: by mail-lf0-f42.google.com with SMTP id 70so792670lfw.2 for ; Tue, 27 Feb 2018 15:27:41 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=ECGYZoVxa2HuXa+cx/QI+vqmerwJQRW1fh1e9cD6IsY=; b=ORZBha44mh8pGoEiMApRa/YA/J3/0/h4XXlb4EnNJlzDErzQTpKwt9vBBy/XhBmk3D cI+3mQq/PCZWE1QjGRq4yq4q6J5MbsBacAzFmbjgmwKS/D3higl2UOjzkJdE5tQ5rpa/ B4dzRwgTrinHOuEHRemky1CHreDECStj9/GX2VknbaMB27ob59wyrf1+2jn/QEzbvaGW lmVwaEFRlLy7ufDA8C2S/kjm9G4MHvHux2OGH4ki/3rAFND0F5y3nVorM8cTIIhmKUeB 0X38HgTJZalDlhgP2lOfBZ21kuKSeyp5n0UMP8qkLfOg2GufdPp5guAMr944bEcKL7Ti 2+qg== X-Gm-Message-State: APf1xPC17xMLcxgYxk37m4SEoPpXz+gUYlIvXljK2lzQh93blJRKLT4+ K/c+85i1Uqc8QpPjhkMX4dYx7JAw4U9SWyNlH7BeUQ== X-Google-Smtp-Source: AG47ELt/1rY4IrgrqFa8SfbH5D5z0iykp+cWwzn/sfNGUgJ3eXMiQE4gwW4qFWCv8MnMLdOh4ORdEvM8KzFFFYt0xhY= X-Received: by 10.25.234.148 with SMTP id y20mr11355717lfi.53.1519774059486; Tue, 27 Feb 2018 15:27:39 -0800 (PST) MIME-Version: 1.0 Received: by 10.46.64.133 with HTTP; Tue, 27 Feb 2018 15:27:38 -0800 (PST) From: David Edelsohn Date: Tue, 27 Feb 2018 23:27:00 -0000 Message-ID: Subject: [PATCH] Fix pt.c bootstrap breakage To: GCC Patches , Jason Merrill , Jakub Jelinek , Martin Sebor Content-Type: text/plain; charset="UTF-8" X-SW-Source: 2018-02/txt/msg01538.txt.bz2 The recent change to pt.c broke bootstrap by including C++ header file directly and including it first. This patch changes to the necessary method which includes the header file via system.h. Okay? Thanks, David * pt.c: Don't include string. Define INCLUDE_STRING before system.h. Index: pt.c =================================================================== --- pt.c (revision 258045) +++ pt.c (working copy) @@ -24,8 +24,8 @@ all methods must be provided in header files; can't use a source file that contains only the method templates and "just win". */ -#include #include "config.h" +#define INCLUDE_STRING #include "system.h" #include "coretypes.h" #include "cp-tree.h"