public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] PR plugins/69758: add params.list to PLUGIN_HEADERS
@ 2016-02-11  3:08 David Malcolm
  2016-02-11  3:27 ` Bernd Schmidt
  0 siblings, 1 reply; 2+ messages in thread
From: David Malcolm @ 2016-02-11  3:08 UTC (permalink / raw)
  To: gcc-patches; +Cc: David Malcolm

params.h is listed in PLUGIN_HEADERS.  As of r227566 params.h
#includes params.list, but the latter is not in PLUGIN_HEADERS,
leading to compilation failure for plugins that include params.h
e.g. for gcc-python-plugin:

  In file included from gcc-cfg.c:40:0:
  /install-dogfood/lib/gcc/x86_64-pc-linux-gnu/6.0.0/plugin/include/params.h:87:23: fatal error: params.list: No such file or directory
   #include "params.list"

The following patch fixes it in the obvious way, by adding
params.list to PLUGIN_HEADERS so that it gets installed.

Successfully bootstrapped&regrtested on x86_64-pc-linux-gnu.
Verified via "make install" and then verifying the build of
the affected files in gcc-python-plugin.

OK for trunk?

gcc/ChangeLog:
	PR plugins/69758
	* Makefile.in (PLUGIN_HEADERS): Add params.list.
---
 gcc/Makefile.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index aa3c018..6c15830 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -3320,7 +3320,8 @@ PLUGIN_HEADERS = $(TREE_H) $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
   tree-ssa-loop-niter.h tree-ssa-ter.h tree-ssa-threadedge.h \
   tree-ssa-threadupdate.h inchash.h wide-int.h signop.h hash-map.h \
   hash-set.h dominance.h cfg.h cfgrtl.h cfganal.h cfgbuild.h cfgcleanup.h \
-  lcm.h cfgloopmanip.h builtins.def chkp-builtins.def pass-instances.def
+  lcm.h cfgloopmanip.h builtins.def chkp-builtins.def pass-instances.def \
+  params.list
 
 # generate the 'build fragment' b-header-vars
 s-header-vars: Makefile
-- 
1.8.5.3

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

* Re: [PATCH] PR plugins/69758: add params.list to PLUGIN_HEADERS
  2016-02-11  3:08 [PATCH] PR plugins/69758: add params.list to PLUGIN_HEADERS David Malcolm
@ 2016-02-11  3:27 ` Bernd Schmidt
  0 siblings, 0 replies; 2+ messages in thread
From: Bernd Schmidt @ 2016-02-11  3:27 UTC (permalink / raw)
  To: David Malcolm, gcc-patches

On 02/11/2016 04:29 AM, David Malcolm wrote:
> gcc/ChangeLog:
> 	PR plugins/69758
> 	* Makefile.in (PLUGIN_HEADERS): Add params.list.

Ok.


Bernd

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

end of thread, other threads:[~2016-02-11  3:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-11  3:08 [PATCH] PR plugins/69758: add params.list to PLUGIN_HEADERS David Malcolm
2016-02-11  3:27 ` Bernd Schmidt

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