From patchwork Mon Nov 4 13:54:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Edelsohn X-Patchwork-Id: 1188967 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-512313-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="xvnA/rDv"; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="AHJvOqTR"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 476DpH75TNz9s7T for ; Tue, 5 Nov 2019 00:55:33 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:from:date:message-id:subject:to:content-type; q= dns; s=default; b=RLuXOxzzHsQjhhT5o99N1XCw4U5QomnWPAmCvoGo9nweg5 4y9Tgy62QUqMPiCkhzQDjIFou7n3+22qPHSa/NrW3ae2NE2Bv6aqcCSS7qUvtN77 6iFbVsLE6hQtue0FDQOPXEEGKXWjlmDCpEb0pYry2ZD/vVm4RXL3afhb4UhWc= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:from:date:message-id:subject:to:content-type; s= default; bh=U4+9IyGd1+AZjM7In8hf4cNNlPU=; b=xvnA/rDvdtcz3A7XN7Lr 8N+Qty5YRd8iEBIDclWOk2CamazHKMq99vpVQuxZtmIKGRvifpAfply2xZCNqXqZ Sn8S7fl9blxNR7o+nSM2/i6GUvxt4O3jY7tvwM36+r/qfWHCrfawirKdODa9Vx5X cwPhIoETyjbptr8i+7xAmYY= Received: (qmail 60603 invoked by alias); 4 Nov 2019 13:55:26 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 60595 invoked by uid 89); 4 Nov 2019 13:55:26 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-6.1 required=5.0 tests=AWL, BAYES_05, FREEMAIL_FROM, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.1 spammy=malloc.h, malloch, UD:malloc.h, richi X-HELO: mail-wm1-f49.google.com Received: from mail-wm1-f49.google.com (HELO mail-wm1-f49.google.com) (209.85.128.49) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 04 Nov 2019 13:55:21 +0000 Received: by mail-wm1-f49.google.com with SMTP id 8so9144075wmo.0 for ; Mon, 04 Nov 2019 05:55:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=z/ex4W00pYjIkn2YppWIXf4kRzy+GbAkxAiv4mZzdpE=; b=AHJvOqTR17yZhwPCVA5x6jQr9s7gmelQ5bfDVB+8XhDdpMFdex6741fmYIebU+LJ5J sTg0Fuk0Y7M6EEIO9NmucNQGAILDXYZAzvSYorEJ7nDiRXhmEFt0Fp6dEs1dr/Z/BlRX XwHOLuBHuy3Br1r7GLD/lWKLYWTLiuxFKm/6aVXTABceg1VrRBmJHf+91AQ9QN1W9nH1 3KvqiqRQZfOIlZEBy3q830oZeifSoRcrPy+CD0ouMKwh8nPvzjGqqGKPDn2Hwl1wbT7n /w6t1AuEn1Yk6hkvUfmEE2M57H50IQbvw09RwAOquUE9tZeY8BZVayOl4+pRlFicfb2F bp3g== MIME-Version: 1.0 From: David Edelsohn Date: Mon, 4 Nov 2019 08:54:42 -0500 Message-ID: Subject: [PATCH] ggc-common.c bootstrap breakage To: GCC Patches , Jan Hubicka The change to add malloc.h to ggc-common.c broke bootstrap. system.h must be included before system header files. The following patch fixes this, committed as obvious with concurrence by Richi. Thanks, David * ggc-common.c: Include system.h before malloc.h. Index: ggc-common.c =================================================================== --- ggc-common.c (revision 277777) +++ ggc-common.c (working copy) @@ -21,10 +21,10 @@ any particular GC implementation. */ #include "config.h" +#include "system.h" #ifdef HAVE_MALLINFO #include #endif -#include "system.h" #include "coretypes.h" #include "timevar.h" #include "diagnostic-core.h"