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

* [Bug plugins/63410] [Regression] pass_instances.def is not installed
  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 ` 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
  2 siblings, 0 replies; 4+ messages in thread
From: dmalcolm at gcc dot gnu.org @ 2014-09-30 15:41 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63410

--- Comment #1 from dmalcolm at gcc dot gnu.org ---
Author: dmalcolm
Date: Tue Sep 30 15:41:11 2014
New Revision: 215727

URL: https://gcc.gnu.org/viewcvs?rev=215727&root=gcc&view=rev
Log:
PR plugins/63410: Fix missing headers for plugins

gcc/
    PR plugins/63410
    * Makefile.in (PRETTY_PRINT_H): Add wide-int-print.h.
    (PLUGIN_HEADERS): Add pass-instances.def.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/Makefile.in


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

* [Bug plugins/63410] [Regression] pass_instances.def is not installed
  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
  2 siblings, 0 replies; 4+ messages in thread
From: dmalcolm at gcc dot gnu.org @ 2014-09-30 16:33 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63410

--- Comment #2 from dmalcolm at gcc dot gnu.org ---
Author: dmalcolm
Date: Tue Sep 30 16:32:33 2014
New Revision: 215731

URL: https://gcc.gnu.org/viewcvs?rev=215731&root=gcc&view=rev
Log:
PR plugins/63410  Fix missing pass-instances.def

gcc/
    PR plugins/63410
    * Makefile.in (PLUGIN_HEADERS): Add pass-instances.def.


Modified:
    branches/gcc-4_9-branch/gcc/ChangeLog
    branches/gcc-4_9-branch/gcc/Makefile.in


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

* [Bug plugins/63410] [Regression] pass_instances.def is not installed
  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
  2 siblings, 0 replies; 4+ messages in thread
From: dmalcolm at gcc dot gnu.org @ 2014-09-30 16:33 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63410

dmalcolm at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from dmalcolm at gcc dot gnu.org ---
Fixed on both trunk and 4.9 branch


^ 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).