http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59335
--- Comment #20 from Jakub Jelinek <jakub at gcc dot gnu.org> --- So, comparing the headers we have in gcc/{,c/,cp/,c-family/}*.h with what we install shows: for i in *.h {c,cp,c-family}/*.h; do [ -f /tmp/foobar/usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.10.0/plugin/include/$i ] || echo $i; done addresses.h asan.h attribs.h bb-reorder.h builtins.h calls.h cfgexpand.h cilk.h collect2-aix.h collect2.h conditions.h convert.h coverage.h cppbuiltin.h cselib.h data-streamer.h dbgcnt.h dbxout.h dce.h ddg.h dfp.h diagnostic-color.h domwalk.h dwarf2asm.h dwarf2out.h errors.h et-forest.h expmed.h expr.h file-find.h gcc.h gcc-symtab.h gcov-io.h gcse.h gengtype.h gensupport.h ggc-internal.h gimple-builder.h gimple-low.h gimple-streamer.h gimple-walk.h gimplify-me.h glimits.h graphds.h graph.h graphite-clast-to-gimple.h graphite-htab.h graphite-poly.h graphite-scop-detection.h graphite-sese-to-poly.h gstab.h gsyms.h gsyslimits.h hooks.h hosthooks-def.h hosthooks.h hw-doloop.h insn-addr.h ipa-inline.h ira.h ira-int.h langhooks-def.h libfuncs.h limitx.h limity.h lower-subreg.h lra.h lra-int.h lto-compress.h lto-streamer.h omega.h omp-low.h optabs.h opts-diagnostic.h pass_manager.h print-rtl.h profile.h read-md.h recog.h regrename.h regs.h reload.h rtl-error.h rtlhooks-def.h sched-int.h sdbout.h sel-sched-dump.h sel-sched.h sel-sched-ir.h sese.h sparseset.h sreal.h stmt.h streamer-hooks.h target-def.h target-globals.h targhooks.h trans-mem.h tree-affine.h tree-chrec.h tree-data-ref.h tree-dfa.h tree-diagnostic.h tree-hasher.h tree-nested.h tree-object-size.h tree-outof-ssa.h tree-parloops.h tree-scalar-evolution.h tree-ssa-address.h tree-ssa-coalesce.h tree-ssa-dom.h tree-ssa-live.h tree-ssa-loop.h tree-ssa-loop-ivopts.h tree-ssa-loop-manip.h tree-ssa-loop-niter.h tree-ssa-propagate.h tree-ssa-ter.h tree-ssa-threadedge.h tree-ssa-threadupdate.h tree-stdarg.h tree-streamer.h tree-vectorizer.h tsan.h tsystem.h typeclass.h ubsan.h valtrack.h value-prof.h vmsdbg.h vtable-verify.h xcoff.h xcoffout.h c/c-lang.h c/c-objc-common.h c/c-tree.h cp/cfns.h cp/cp-objcp-common.h cp/decl.h cp/lang-specs.h cp/parser.h cp/type-utils.h c-family/c-ada-spec.h c-family/c-format.h c-family/c-target-def.h c-family/c-target.h c-family/c-ubsan.h So, which of these we want to install for plugins and which are not useful for plugins?