From patchwork Tue Jul 7 13:49:05 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew MacLeod X-Patchwork-Id: 492275 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 7CEB9140280 for ; Tue, 7 Jul 2015 23:49:16 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=vrDCO8vC; 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 :message-id:date:from:mime-version:to:subject:references :in-reply-to:content-type; q=dns; s=default; b=Jgewxwge06qV78h/z GFXrwZZ+2oVSfKVHdS1Im8BrX3PIJ+fi/PWhCmEAOWaw+vWGkRGLhcaS1Rd5EfS4 P8w5hNKn6w3Z9t16PSu1FAzKuZkXY5kniOSUhC+oPafqqwAKuA/9esvzKmJLJRYI UUNjgxauB2HiBo+oSNy+JMsjCw= 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 :message-id:date:from:mime-version:to:subject:references :in-reply-to:content-type; s=default; bh=hWkFs9bFT3hfYGfK1eFsPXa cKaM=; b=vrDCO8vCrt/h7d1gyQJ7CJ2Nxxp7TR0ulREfjeUjtLMYiIDg/RnEZdI +W9uyvZkMxkFMt0TJ3CI/N1SrOO0s3abDxeLYbOqcq6L6uqnpwVNUdk41a+GyIVY 03Ry1g2is1EHpdJgUePw0TdVDPSlqGtt4LQjpCmd1Sw0I8aIULvo= Received: (qmail 83590 invoked by alias); 7 Jul 2015 13:49:09 -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 83581 invoked by uid 89); 7 Jul 2015 13:49:09 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=AWL, BAYES_50, 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:49:08 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id DDACA345A93 for ; Tue, 7 Jul 2015 13:49:06 +0000 (UTC) Received: from [10.10.63.37] (vpn-63-37.rdu2.redhat.com [10.10.63.37]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t67Dn66n008239 for ; Tue, 7 Jul 2015 09:49:06 -0400 Message-ID: <559BD8D1.3030803@redhat.com> Date: Tue, 07 Jul 2015 09:49:05 -0400 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 7/9] Flatten cfgloop.h References: <559BD6B3.2080207@redhat.com> In-Reply-To: <559BD6B3.2080207@redhat.com> X-IsSubscribed: yes This patch flattens cfgloop.h. cfgloopmanip.h is utilized by numerous files which include cfgloop.h, so it seems to make sense to leave it here. The other 3 header files are going to form part of backend.h, so take them out. I didn't bother posting the changes to all the source files since aggregating with backend.h would undo every one. Bootstraps from scratch on x86_64-unknown-linux-gnu with no new regressions. Also compiles all the files in config-list.mk. * cfgloop.h: Remove all #includes except cfgloopmanip.h. Index: cfgloop.h =================================================================== *** cfgloop.h (revision 225452) --- cfgloop.h (working copy) *************** along with GCC; see the file COPYING3. *** 20,28 **** #ifndef GCC_CFGLOOP_H #define GCC_CFGLOOP_H - #include "bitmap.h" - #include "sbitmap.h" - #include "function.h" #include "cfgloopmanip.h" /* Structure to hold decision about unrolling/peeling. */ --- 20,25 ----