[Patch] Fix PR plugin/59335, plugins not compiling

Richard Biener richard.guenther@gmail.com
Fri Jan 10 11:13:00 GMT 2014


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
>



More information about the Gcc-patches mailing list