From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5698 invoked by alias); 29 Sep 2014 18:12:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 5671 invoked by uid 48); 29 Sep 2014 18:12:40 -0000 From: "dmalcolm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug plugins/63410] New: [Regression] pass_instances.def is not installed Date: Mon, 29 Sep 2014 18:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: plugins X-Bugzilla-Version: 4.9.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dmalcolm at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-09/txt/msg02708.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63410 Bug ID: 63410 Summary: [Regression] pass_instances.def is not installed Product: gcc Version: 4.9.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: plugins Assignee: unassigned at gcc dot gnu.org Reporter: dmalcolm at gcc dot gnu.org Created attachment 33614 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33614&action=edit Trivial patch to add pass-instances.def to installed headers We install the header "pass_manager.h", but it can't be included by a plugin, since it includes "pass-instances.def", and we don't current install that. /home/david/coding/gcc-python/gcc-svn-4.9/install/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/plugin/include/pass_manager.h:123:30: fatal error: pass-instances.def: No such file or directory #include "pass-instances.def" Affects 4.9 branch (e.g. r215685), and, I believe, trunk. Marking as [Regression] since this currently makes it impossible to access the "roots" of the pass tree ("all_passes" et al) from a plugin in 4.9+, since they were moved from being globals to being member data of the pass_manager in 4.9, hence we need to include pass_manager.h for that. (My fault, sorry: I was the one who moved these from being globals to being member data. The gcc-python-plugin needs this, and hence this is one thing blocking that plugin from being built against 4.9) Am currently verifying the obvious patch.