This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch] Fix PR plugin/59335, plugins not compiling
- From: Richard Biener <richard dot guenther at gmail dot com>
- To: Steve Ellcey <sellcey at mips dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 10 Jan 2014 12:12:53 +0100
- Subject: Re: [Patch] Fix PR plugin/59335, plugins not compiling
- Authentication-results: sourceware.org; auth=none
- References: <302bf1a6-aa26-4aff-9444-fdb8abae726d at BAMAIL02 dot ba dot imgtec dot org>
On Thu, Jan 9, 2014 at 11:00 PM, Steve Ellcey <sellcey@mips.com> wrote:
> Some header files needed by plugins are not present in the installed plugin
> include directory. This patch adds those headers. I added all the headers
> I needed for my plugin plus the ones mentioned in the patch. I did not add
> the x86 specific *.def files but this should fix all the generic platform
> issues that are mentioned in the defect.
>
> Tested with my switch-shortcut plugin on MIPS.
>
> OK to checkin?
Ok.
Thanks,
Richard.
> Steve Ellcey
> sellcey@mips.com
>
>
> 2014-01-09 Steve Ellcey <sellcey@mips.com>
>
> PR plugins/59335
> * Makefile.in (PLUGIN_HEADERS): Add 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, and context.h.
>
>
> diff --git a/gcc/Makefile.in b/gcc/Makefile.in
> index 8eb4f68..76766ba 100644
> --- a/gcc/Makefile.in
> +++ b/gcc/Makefile.in
> @@ -3118,7 +3118,9 @@ PLUGIN_HEADERS = $(TREE_H) $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
> cppdefault.h flags.h $(MD5_H) params.def params.h prefix.h tree-inline.h \
> $(GIMPLE_PRETTY_PRINT_H) realmpfr.h \
> $(IPA_PROP_H) $(TARGET_H) $(RTL_H) $(TM_P_H) $(CFGLOOP_H) $(EMIT_RTL_H) \
> - version.h stringpool.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
>
> # generate the 'build fragment' b-header-vars
> s-header-vars: Makefile
>