public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug plugins/63410] New: [Regression] pass_instances.def is not installed
@ 2014-09-29 18:12 dmalcolm at gcc dot gnu.org
  2014-09-30 15:41 ` [Bug plugins/63410] " dmalcolm at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: dmalcolm at gcc dot gnu.org @ 2014-09-29 18:12 UTC (permalink / raw)
  To: gcc-bugs

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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-09-30 16:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-29 18:12 [Bug plugins/63410] New: [Regression] pass_instances.def is not installed dmalcolm at gcc dot gnu.org
2014-09-30 15:41 ` [Bug plugins/63410] " dmalcolm at gcc dot gnu.org
2014-09-30 16:33 ` dmalcolm at gcc dot gnu.org
2014-09-30 16:33 ` dmalcolm at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).