diff mbox

[PLUGIN] Install c-tree.h header

Message ID CAF+LTed36sYqJHRsAtGpNGs5E+qWj3eaLDVaRZXuKi8UDZswxA@mail.gmail.com
State New
Headers show

Commit Message

Romain Geissler Aug. 2, 2011, 2:09 p.m. UTC
Hi,

For now, plugins can't compare types. This patch allows
c-tree.h to be installed as a plugin header, allowing
plugins to see "comptypes" (among other things).

Romain Geissler


2011-08-02  Romain Geissler  <romain.geissler@gmail.com>

	* Makefile.in (PLUGIN_HEADERS): Add C_TREE_H.

Comments

Romain Geissler Aug. 10, 2011, 10:32 a.m. UTC | #1
2011/8/2 Romain Geissler <romain.geissler@gmail.com>:
> Hi,
>
> For now, plugins can't compare types. This patch allows
> c-tree.h to be installed as a plugin header, allowing
> plugins to see "comptypes" (among other things).
>
> Romain Geissler
>
>
> 2011-08-02  Romain Geissler  <romain.geissler@gmail.com>
>
>        * Makefile.in (PLUGIN_HEADERS): Add C_TREE_H.
>
>
> Index: gcc/Makefile.in
> ===================================================================
> --- gcc/Makefile.in     (revision 176741)
> +++ gcc/Makefile.in     (working copy)
> @@ -4584,7 +4584,7 @@ PLUGIN_HEADERS = $(TREE_H) $(CONFIG_H) $
>   $(GGC_H) $(TREE_DUMP_H) $(PRETTY_PRINT_H) $(OPTS_H) $(PARAMS_H) plugin.def \
>   $(tm_file_list) $(tm_include_list) $(tm_p_file_list) $(tm_p_include_list) \
>   $(host_xm_file_list) $(host_xm_include_list) $(xm_include_list) \
> -  intl.h $(PLUGIN_VERSION_H) $(DIAGNOSTIC_H) \
> +  intl.h $(PLUGIN_VERSION_H) $(DIAGNOSTIC_H) ${C_TREE_H} \
>   $(C_COMMON_H) c-family/c-objc.h $(C_PRETTY_PRINT_H) \
>   tree-iterator.h $(PLUGIN_H) $(TREE_FLOW_H) langhooks.h incpath.h debug.h \
>   $(EXCEPT_H) tree-ssa-sccvn.h real.h output.h $(IPA_UTILS_H) \
>

Ping.
Diego Novillo Aug. 10, 2011, 3:18 p.m. UTC | #2
On Tue, Aug 2, 2011 at 10:09, Romain Geissler <romain.geissler@gmail.com> wrote:

> 2011-08-02  Romain Geissler  <romain.geissler@gmail.com>
>
>        * Makefile.in (PLUGIN_HEADERS): Add C_TREE_H.

OK.


Diego.
diff mbox

Patch

Index: gcc/Makefile.in
===================================================================
--- gcc/Makefile.in     (revision 176741)
+++ gcc/Makefile.in     (working copy)
@@ -4584,7 +4584,7 @@  PLUGIN_HEADERS = $(TREE_H) $(CONFIG_H) $
   $(GGC_H) $(TREE_DUMP_H) $(PRETTY_PRINT_H) $(OPTS_H) $(PARAMS_H) plugin.def \
   $(tm_file_list) $(tm_include_list) $(tm_p_file_list) $(tm_p_include_list) \
   $(host_xm_file_list) $(host_xm_include_list) $(xm_include_list) \
-  intl.h $(PLUGIN_VERSION_H) $(DIAGNOSTIC_H) \
+  intl.h $(PLUGIN_VERSION_H) $(DIAGNOSTIC_H) ${C_TREE_H} \
   $(C_COMMON_H) c-family/c-objc.h $(C_PRETTY_PRINT_H) \
   tree-iterator.h $(PLUGIN_H) $(TREE_FLOW_H) langhooks.h incpath.h debug.h \
   $(EXCEPT_H) tree-ssa-sccvn.h real.h output.h $(IPA_UTILS_H) \