From 2e2c9da012227ba12ce89b6a65179e6c830e7e4b Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Tue, 2 Jul 2019 09:35:12 +0000 Subject: tree-core.h (enum tree_index): Add TI_CHREC_DONT_KNOW and TI_CHREC_KNOWN. 2019-07-02 Richard Biener * tree-core.h (enum tree_index): Add TI_CHREC_DONT_KNOW and TI_CHREC_KNOWN. * tree.h (chrec_not_analyzed_yet, chrec_dont_know, chrec_known): Define here. * tree.c (build_common_tree_nodes): Initialize them. * tree-chrec.h (chrec_not_analyzed_yet, chrec_dont_know, chrec_known): Make declarations comments. * tree-scalar-evolution.c (chrec_not_analyzed_yet, chrec_dont_know, chrec_known): Remove definitions. (initialize_scalar_evolutions_analyzer): Remove. (scev_initialize): Do not call initialize_scalar_evolutions_analyzer. * tree-streamer.c (preload_common_nodes): Do not preload TI_CHREC_DONT_KNOW or TI_CHREC_KNOWN. From-SVN: r272928 --- gcc/tree-chrec.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'gcc/tree-chrec.h') diff --git a/gcc/tree-chrec.h b/gcc/tree-chrec.h index dbbc1b1..3b5c090 100644 --- a/gcc/tree-chrec.h +++ b/gcc/tree-chrec.h @@ -23,11 +23,14 @@ along with GCC; see the file COPYING3. If not see /* The following trees are unique elements. Thus the comparison of another element to these elements should be done on the pointer to these trees, - and not on their value. */ + and not on their value. -extern tree chrec_not_analyzed_yet; -extern GTY(()) tree chrec_dont_know; -extern GTY(()) tree chrec_known; + extern tree chrec_not_analyzed_yet; + extern tree chrec_dont_know; + extern tree chrec_known; + + chrec_not_analyzed_yet is NULL_TREE and the others are defined + in global_trees[]. */ /* After having added an automatically generated element, please include it in the following function. */ -- cgit v1.1