From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 74670 invoked by alias); 7 Jul 2015 13:46:54 -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 74656 invoked by uid 89); 7 Jul 2015 13:46:53 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.8 required=5.0 tests=AWL,BAYES_50,KAM_ASCII_DIVIDERS,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=no version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Tue, 07 Jul 2015 13:46:52 +0000 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (Postfix) with ESMTPS id 74A21B66A9 for ; Tue, 7 Jul 2015 13:46:51 +0000 (UTC) Received: from [10.10.63.37] (vpn-63-37.rdu2.redhat.com [10.10.63.37]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t67DkoTt028680 for ; Tue, 7 Jul 2015 09:46:50 -0400 Message-ID: <559BD84A.1010309@redhat.com> Date: Tue, 07 Jul 2015 13:46:00 -0000 From: Andrew MacLeod User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: gcc-patches@gcc.gnu.org Subject: [patch 5/9] Flatten ira-int.h References: <559BD6B3.2080207@redhat.com> In-Reply-To: <559BD6B3.2080207@redhat.com> Content-Type: multipart/mixed; boundary="------------090000050802070901000106" X-IsSubscribed: yes X-SW-Source: 2015-07/txt/msg00506.txt.bz2 This is a multi-part message in MIME format. --------------090000050802070901000106 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-length: 372 Flatten ira-int.h, yet another header that includes cfgloop.h. Most of the includes from here do actually make it into the source files, so once the include reduction is completed and we see if they are actually needed, some may go back in. Bootstraps from scratch on x86_64-unknown-linux-gnu with no new regressions. Also compiles all the files in config-list.mk. --------------090000050802070901000106 Content-Type: text/x-patch; name="5-ira.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="5-ira.patch" Content-length: 4291 * ira-int.h: Flatten includes. * ira-build.c: Adjust includes. * ira-color.c: Likewise. * ira-conflicts.c: Likewise. * ira-costs.c: Likewise. * ira-emit.c: Likewise. * ira-lives.c: Likewise. * ira.c: Likewise. * target-globals.c: Likewise. Index: ira-int.h =================================================================== *** ira-int.h (revision 225452) --- ira-int.h (working copy) *************** along with GCC; see the file COPYING3. *** 21,30 **** #ifndef GCC_IRA_INT_H #define GCC_IRA_INT_H - #include "cfgloop.h" - #include "ira.h" - #include "alloc-pool.h" - /* To provide consistency in naming, all IRA external variables, functions, common typedefs start with prefix ira_. */ --- 21,26 ---- Index: ira-build.c =================================================================== *** ira-build.c (revision 225452) --- ira-build.c (working copy) *************** along with GCC; see the file COPYING3. *** 40,45 **** --- 40,48 ---- #include "df.h" #include "reload.h" #include "sparseset.h" + #include "cfgloop.h" + #include "ira.h" + #include "alloc-pool.h" #include "ira-int.h" #include "emit-rtl.h" /* FIXME: Can go away once crtl is moved to rtl.h. */ Index: ira-color.c =================================================================== *** ira-color.c (revision 225452) --- ira-color.c (working copy) *************** along with GCC; see the file COPYING3. *** 51,56 **** --- 51,59 ---- #include "reload.h" #include "params.h" #include "df.h" + #include "cfgloop.h" + #include "ira.h" + #include "alloc-pool.h" #include "ira-int.h" typedef struct allocno_hard_regs *allocno_hard_regs_t; Index: ira-conflicts.c =================================================================== *** ira-conflicts.c (revision 225452) --- ira-conflicts.c (working copy) *************** along with GCC; see the file COPYING3. *** 37,42 **** --- 37,45 ---- #include "params.h" #include "df.h" #include "sparseset.h" + #include "cfgloop.h" + #include "ira.h" + #include "alloc-pool.h" #include "ira-int.h" #include "addresses.h" Index: ira-costs.c =================================================================== *** ira-costs.c (revision 225452) --- ira-costs.c (working copy) *************** along with GCC; see the file COPYING3. *** 50,55 **** --- 50,58 ---- #include "diagnostic-core.h" #include "target.h" #include "params.h" + #include "cfgloop.h" + #include "ira.h" + #include "alloc-pool.h" #include "ira-int.h" /* The flags is set up every time when we calculate pseudo register Index: ira-emit.c =================================================================== *** ira-emit.c (revision 225452) --- ira-emit.c (working copy) *************** along with GCC; see the file COPYING3. *** 100,105 **** --- 100,108 ---- #include "params.h" #include "reload.h" #include "df.h" + #include "cfgloop.h" + #include "ira.h" + #include "alloc-pool.h" #include "ira-int.h" Index: ira-lives.c =================================================================== *** ira-lives.c (revision 225452) --- ira-lives.c (working copy) *************** along with GCC; see the file COPYING3. *** 39,44 **** --- 39,47 ---- #include "df.h" #include "sbitmap.h" #include "sparseset.h" + #include "cfgloop.h" + #include "ira.h" + #include "alloc-pool.h" #include "ira-int.h" /* The code in this file is similar to one in global but the code Index: ira.c =================================================================== *** ira.c (revision 225452) --- ira.c (working copy) *************** along with GCC; see the file COPYING3. *** 403,408 **** --- 403,411 ---- #include "except.h" #include "reload.h" #include "diagnostic-core.h" + #include "cfgloop.h" + #include "ira.h" + #include "alloc-pool.h" #include "ira-int.h" #include "lra.h" #include "dce.h" Index: target-globals.c =================================================================== *** target-globals.c (revision 225452) --- target-globals.c (working copy) *************** along with GCC; see the file COPYING3. *** 45,50 **** --- 45,52 ---- #include "optabs.h" #include "libfuncs.h" #include "cfgloop.h" + #include "ira.h" + #include "alloc-pool.h" #include "ira-int.h" #include "builtins.h" #include "gcse.h" --------------090000050802070901000106--