RFC - Refactor tree.h

Richard Biener richard.guenther@gmail.com
Mon Sep 2 09:41:00 GMT 2013


On Sat, Aug 31, 2013 at 1:22 AM, Diego Novillo <dnovillo@google.com> wrote:
> Thanks for the suggestions.  I've incorporated them into the patch.
> It now adds tree-core.h with all the structures, enums, typedefs and
> some fundamental declarations from tree.h.  Everything else stays in
> tree.h for now.
>
> As we convert gimple files, we'll move declarations out of tree.h into
> other headers and rewrite missing functions in the new gimple API.
>
> This new patch bootstraps and tests fine on x86_64.
>
> OK for trunk?

Looks good to me.

Richard.

> 2013-08-30  Diego Novillo  <dnovillo@google.com>
>
> * Makefile.in (TREE_CORE_H): Define.
> (TREE_H): Use.
> (GTFILES): Add tree-core.h.
> * builtins.c (built_in_class_names): Use BUILT_IN_LAST to
> size the array.
> * tree-core.h: New file.
> Move all data structures, enum, typedefs, global
> declarations and constants from ...
> * tree.h: ... here.
>
>
> Thanks.  Diego.



More information about the Gcc-patches mailing list