From patchwork Sat Apr 16 16:59:16 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 611382 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org 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 3qnLHM6gfjz9sCk for ; Sun, 17 Apr 2016 02:59:42 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=NVsUTYRM; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id; q=dns; s=default; b=WFwpU2x8ZcIW /kKr93Pi9NqI2NKCvNiCCUmEPIEHlZj9KXPPDrFh9uUJ6k1zBnLpHSgkThcCiA/+ C4ZRH83RaGFSQnJq9iTKC4KrIbxNJ5QAVZr36VIfZUCQAp/pyiBAUGtsnzYT8sSh S+O/ZzwJ6anZo3FHnY92aLfmFkpkBx8= 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:from :to:cc:subject:date:message-id; s=default; bh=562ngx8Nvm5OrNYWx0 11A6RwKqA=; b=NVsUTYRMth2EX/RbN8etaaCYvkpTFfVBava32Mf+27G5OMeBPC 5hdGLM2hYiUt4CIXK/OJv/1H1V3xEmrGSZsaRH3bRuYlDQANmJAqtB/+O8gXBL74 892XLy3uWsIyTVLlvGEOb6bF6SMtVX7Rnc1yR6WC5IBqkswKVZnPY6aTI= Received: (qmail 64287 invoked by alias); 16 Apr 2016 16:59:33 -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 64274 invoked by uid 89); 16 Apr 2016 16:59:32 -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, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 spammy=raj, Hx-languages-length:925, 2016-04-16 X-HELO: mail-pa0-f54.google.com Received: from mail-pa0-f54.google.com (HELO mail-pa0-f54.google.com) (209.85.220.54) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Sat, 16 Apr 2016 16:59:31 +0000 Received: by mail-pa0-f54.google.com with SMTP id zm5so65040494pac.0 for ; Sat, 16 Apr 2016 09:59:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=CSBfvV+vTun/+OjpcHb4JKDMV/q5Cr8Qi5o1np7F5CY=; b=Yuf2YVESiQuD1n1oH0zmlDooGpA46/0wnPsd5Zdg6lpCMbRQuEezO584/o1mKqtCqD lB8wvQk7+SnL3la4RCTig1F/g8yP9L/9ApNwBvqedjrXe41Sw2S4Zvz/3oAq1p8k/quK cm5MrY3FA+Tw1aGY9kApeFCM8m6wGdBVSpHSVDGAkwPgERIrNTsADRyuNDdnehpWqSvz fxpQ8kqElhloOaWRWeirudwT1CvZeskMlEHACTVEZkD37PgMd8uoZzH+tumT1drJYggY qdpRTO3b6hw3cKCVYdzdGG9nxiMd1Z4QnaSJCcuc9bhEwrfV3Q6lpFsO8zNFReFSZPQa qLyw== X-Gm-Message-State: AOPr4FWRFnexCm+Aq4k1xLrvYVqwZxor8At2d8c4QDBU0W5PE9zm3QlBjQ+fGWgxj2zRGA== X-Received: by 10.66.123.105 with SMTP id lz9mr37920536pab.37.1460825969905; Sat, 16 Apr 2016 09:59:29 -0700 (PDT) Received: from haswell.localdomain (c-76-102-32-192.hsd1.ca.comcast.net. [76.102.32.192]) by smtp.gmail.com with ESMTPSA id q26sm72672533pfi.57.2016.04.16.09.59.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 16 Apr 2016 09:59:28 -0700 (PDT) From: Khem Raj To: gcc-patches@gcc.gnu.org Cc: Khem Raj Subject: [PATCH] lto-streamer.h: Include gimple.h for LAST_AND_UNUSED_GIMPLE_CODE. Date: Sat, 16 Apr 2016 09:59:16 -0700 Message-Id: <1460825956-12529-1-git-send-email-raj.khem@gmail.com> gcc/: 2016-04-16 Khem Raj * lto-streamer.h: Include gimple.h for LAST_AND_UNUSED_GIMPLE_CODE. Fixes build errors e.g. | ../../../../../../../work-shared/gcc-6.0.0-r0/git/gcc/lto-streamer.h:159:34: error: 'LAST_AND_UNUSED_GIMPLE_CODE' was not declared in this scope | LTO_bb0 = 1 + MAX_TREE_CODES + LAST_AND_UNUSED_GIMPLE_CODE, --- gcc/lto-streamer.h | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/lto-streamer.h b/gcc/lto-streamer.h index f391161..489801b 100644 --- a/gcc/lto-streamer.h +++ b/gcc/lto-streamer.h @@ -26,6 +26,7 @@ along with GCC; see the file COPYING3. If not see #include "plugin-api.h" #include "gcov-io.h" #include "diagnostic.h" +#include "gimple.h" /* Define when debugging the LTO streamer. This causes the writer to output the numeric value for the memory address of the tree node