Move pass free_lang_data to its own file.

gcc/ChangeLog:
	* Makefile.in (OBJS): Add ipa-free-lang-data.o.
	* ipa-free-lang-data.cc: New file.
	* tree.c: Move pass free_lang_data to file above.
	 (build_array_type_1): Declare extern.
	* tree.h (build_array_type_1): Declare.
This commit is contained in:
Martin Sebor 2021-04-28 19:01:40 -06:00
parent cc80612621
commit 2de7c79256
4 changed files with 1297 additions and 1251 deletions

View File

@ -1446,6 +1446,7 @@ OBJS = \
ipa-split.o \
ipa-inline.o \
ipa-comdats.o \
ipa-free-lang-data.o \
ipa-visibility.o \
ipa-inline-analysis.o \
ipa-inline-transform.o \

1188
gcc/ipa-free-lang-data.cc Normal file

File diff suppressed because it is too large Load Diff

1358
gcc/tree.c

File diff suppressed because it is too large Load Diff

View File

@ -4528,6 +4528,7 @@ extern tree build_vector_type (tree, poly_int64);
extern tree build_truth_vector_type_for_mode (poly_uint64, machine_mode);
extern tree build_opaque_vector_type (tree, poly_int64);
extern tree build_index_type (tree);
extern tree build_array_type_1 (tree, tree, bool, bool, bool);
extern tree build_array_type (tree, tree, bool = false);
extern tree build_nonshared_array_type (tree, tree);
extern tree build_array_type_nelts (tree, poly_uint64);