From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28791 invoked by alias); 16 Oct 2014 20:52:29 -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 28777 invoked by uid 89); 16 Oct 2014 20:52:28 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham 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; Thu, 16 Oct 2014 20:52:27 +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 (8.14.4/8.14.4) with ESMTP id s9GKqO0Z006321 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Thu, 16 Oct 2014 16:52:25 -0400 Received: from [10.10.50.115] (vpn-50-115.rdu2.redhat.com [10.10.50.115]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s9GKqN65003823; Thu, 16 Oct 2014 16:52:24 -0400 Message-ID: <54403007.7090306@redhat.com> Date: Thu, 16 Oct 2014 20:54:00 -0000 From: Andrew MacLeod User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: gcc-patches , Jeff Law , David Malcolm Subject: [patch]add function.h flattened includes to gcc-plugin.h Content-Type: multipart/mixed; boundary="------------070706080607060301030600" X-IsSubscribed: yes X-SW-Source: 2014-10/txt/msg01617.txt.bz2 This is a multi-part message in MIME format. --------------070706080607060301030600 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-length: 651 In an attempt to not screw up every plugin user again this release, I'll try to add any flattened includes and any pre-requiresites into gcc-plugin.h, as discussed here: https://gcc.gnu.org/ml/gcc/2014-10/msg00127.html This patch adds those includes to gcc-plugin.h, and also adds tm.h since it is a prerequisite for function.h. I also revert the changes to testsuite/g++.dg/plugin/pragma_plugin.c so that it simply includes function.h like it did before... thats the proof of compilation I guess :-) Pretty trivial change, and still bootstraps onx86_64-unknown-linux-gnu... and doesn't cause any regressions I can see., OK? Andrew --------------070706080607060301030600 Content-Type: text/x-patch; name="plug.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="plug.patch" Content-length: 1123 * gcc-plugin.h: Add tm.h and flattened includes from function.h. * testsuite/g++.dg/plugin/pragma_plugin.c: Revert flattening, only include function.h. Index: gcc-plugin.h =================================================================== --- gcc-plugin.h (revision 216336) +++ gcc-plugin.h (working copy) @@ -28,7 +28,13 @@ #include "system.h" #include "coretypes.h" #include "highlev-plugin-common.h" +#include "tm.h" #include "hashtab.h" +#include "hash-set.h" +#include "vec.h" +#include "machmode.h" +#include "hard-reg-set.h" +#include "input.h" /* Event names. */ enum plugin_event Index: testsuite/g++.dg/plugin/pragma_plugin.c =================================================================== --- testsuite/g++.dg/plugin/pragma_plugin.c (revision 216337) +++ testsuite/g++.dg/plugin/pragma_plugin.c (working copy) @@ -8,12 +8,6 @@ #include "tm.h" #include "rtl.h" #include "tree.h" -#include "hashtab.h" -#include "hash-set.h" -#include "vec.h" -#include "machmode.h" -#include "hard-reg-set.h" -#include "input.h" #include "function.h" #include "c-family/c-pragma.h" #include "cpplib.h" --------------070706080607060301030600--