[PATCH] Install some more headers for plugins (PR plugins/59335)

2014-04-15 Thread Jakub Jelinek
Hi!

This patch installs some headers that were newly added in 4.9 (other than
cilk/vtable-verify/omp/ubsan headers), which might be needed by some
plugins.

Bootstrapped/regtested on x86_64-linux and i686-linux.
Ok for trunk/4.9?

2014-04-15  Jakub Jelinek  ja...@redhat.com

PR plugins/59335
* Makefile.in (PLUGIN_HEADERS): Add various headers that have been
added in 4.9.

* Make-lang.h (CP_PLUGIN_HEADERS): Add type-utils.h.

--- gcc/Makefile.in.jj  2014-04-08 08:59:45.0 +0200
+++ gcc/Makefile.in 2014-04-14 11:53:51.676369581 +0200
@@ -3125,7 +3125,14 @@ PLUGIN_HEADERS = $(TREE_H) $(CONFIG_H) $
   version.h stringpool.h gimplify.h gimple-iterator.h gimple-ssa.h \
   fold-const.h tree-cfg.h tree-into-ssa.h tree-ssanames.h print-tree.h \
   varasm.h context.h tree-phinodes.h stor-layout.h ssa-iterators.h \
-  $(RESOURCE_H) tree-cfgcleanup.h
+  $(RESOURCE_H) tree-cfgcleanup.h attribs.h calls.h cfgexpand.h \
+  diagnostic-color.h gcc-symtab.h gimple-builder.h gimple-low.h \
+  gimple-walk.h gimplify-me.h pass_manager.h print-rtl.h stmt.h \
+  tree-dfa.h tree-hasher.h tree-nested.h tree-object-size.h tree-outof-ssa.h \
+  tree-parloops.h tree-ssa-address.h tree-ssa-coalesce.h tree-ssa-dom.h \
+  tree-ssa-loop.h tree-ssa-loop-ivopts.h tree-ssa-loop-manip.h \
+  tree-ssa-loop-niter.h tree-ssa-ter.h tree-ssa-threadedge.h \
+  tree-ssa-threadupdate.h
 
 # generate the 'build fragment' b-header-vars
 s-header-vars: Makefile
--- gcc/cp/Make-lang.in.jj  2014-03-10 10:50:14.0 +0100
+++ gcc/cp/Make-lang.in 2014-04-14 11:55:24.992880591 +0200
@@ -39,7 +39,7 @@ CXX_INSTALL_NAME := $(shell echo c++|sed
 GXX_INSTALL_NAME := $(shell echo g++|sed '$(program_transform_name)')
 CXX_TARGET_INSTALL_NAME := $(target_noncanonical)-$(shell echo c++|sed 
'$(program_transform_name)')
 GXX_TARGET_INSTALL_NAME := $(target_noncanonical)-$(shell echo g++|sed 
'$(program_transform_name)')
-CP_PLUGIN_HEADERS := cp-tree.h cxx-pretty-print.h name-lookup.h
+CP_PLUGIN_HEADERS := cp-tree.h cxx-pretty-print.h name-lookup.h type-utils.h
 
 #
 # Define the names for selecting c++ in LANGUAGES.

Jakub


Re: [PATCH] Install some more headers for plugins (PR plugins/59335)

2014-04-15 Thread Richard Biener
On Tue, 15 Apr 2014, Jakub Jelinek wrote:

 Hi!
 
 This patch installs some headers that were newly added in 4.9 (other than
 cilk/vtable-verify/omp/ubsan headers), which might be needed by some
 plugins.
 
 Bootstrapped/regtested on x86_64-linux and i686-linux.
 Ok for trunk/4.9?

Ok.

Thanks,
Richard.

 2014-04-15  Jakub Jelinek  ja...@redhat.com
 
   PR plugins/59335
   * Makefile.in (PLUGIN_HEADERS): Add various headers that have been
   added in 4.9.
 
   * Make-lang.h (CP_PLUGIN_HEADERS): Add type-utils.h.
 
 --- gcc/Makefile.in.jj2014-04-08 08:59:45.0 +0200
 +++ gcc/Makefile.in   2014-04-14 11:53:51.676369581 +0200
 @@ -3125,7 +3125,14 @@ PLUGIN_HEADERS = $(TREE_H) $(CONFIG_H) $
version.h stringpool.h gimplify.h gimple-iterator.h gimple-ssa.h \
fold-const.h tree-cfg.h tree-into-ssa.h tree-ssanames.h print-tree.h \
varasm.h context.h tree-phinodes.h stor-layout.h ssa-iterators.h \
 -  $(RESOURCE_H) tree-cfgcleanup.h
 +  $(RESOURCE_H) tree-cfgcleanup.h attribs.h calls.h cfgexpand.h \
 +  diagnostic-color.h gcc-symtab.h gimple-builder.h gimple-low.h \
 +  gimple-walk.h gimplify-me.h pass_manager.h print-rtl.h stmt.h \
 +  tree-dfa.h tree-hasher.h tree-nested.h tree-object-size.h tree-outof-ssa.h 
 \
 +  tree-parloops.h tree-ssa-address.h tree-ssa-coalesce.h tree-ssa-dom.h \
 +  tree-ssa-loop.h tree-ssa-loop-ivopts.h tree-ssa-loop-manip.h \
 +  tree-ssa-loop-niter.h tree-ssa-ter.h tree-ssa-threadedge.h \
 +  tree-ssa-threadupdate.h
  
  # generate the 'build fragment' b-header-vars
  s-header-vars: Makefile
 --- gcc/cp/Make-lang.in.jj2014-03-10 10:50:14.0 +0100
 +++ gcc/cp/Make-lang.in   2014-04-14 11:55:24.992880591 +0200
 @@ -39,7 +39,7 @@ CXX_INSTALL_NAME := $(shell echo c++|sed
  GXX_INSTALL_NAME := $(shell echo g++|sed '$(program_transform_name)')
  CXX_TARGET_INSTALL_NAME := $(target_noncanonical)-$(shell echo c++|sed 
 '$(program_transform_name)')
  GXX_TARGET_INSTALL_NAME := $(target_noncanonical)-$(shell echo g++|sed 
 '$(program_transform_name)')
 -CP_PLUGIN_HEADERS := cp-tree.h cxx-pretty-print.h name-lookup.h
 +CP_PLUGIN_HEADERS := cp-tree.h cxx-pretty-print.h name-lookup.h type-utils.h
  
  #
  # Define the names for selecting c++ in LANGUAGES.
 
   Jakub