Refactor fileptr_type_node handling
authorMarc Glisse <marc.glisse@inria.fr>
Fri, 23 Jun 2017 09:05:47 +0000 (11:05 +0200)
committerMarc Glisse <glisse@gcc.gnu.org>
Fri, 23 Jun 2017 09:05:47 +0000 (09:05 +0000)
commit2db9b7cd422b63fe0a87218128cc0939b439859e
tree8874bb67d61acd34ac953c902f78942ea9e4d604
parent70fdc808941016567f8e55caea593324b15df230
Refactor fileptr_type_node handling

2017-06-23  Marc Glisse  <marc.glisse@inria.fr>

gcc/
* tree.h (builtin_structptr_type): New type.
(builtin_structptr_types): Declare new array.
* tree.c (builtin_structptr_types): New array.
(free_lang_data, build_common_tree_nodes): Use it.

gcc/c-family/
* c-common.c (c_common_nodes_and_builtins): Use builtin_structptr_types.

gcc/cp/
* decl.c (duplicate_decls): Use builtin_structptr_types.

gcc/lto/
* lto-lang.c (lto_init): Use builtin_structptr_types.

From-SVN: r249585
gcc/ChangeLog
gcc/c-family/ChangeLog
gcc/c-family/c-common.c
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/lto/ChangeLog
gcc/lto/lto-lang.c
gcc/tree.c
gcc/tree.h