summaryrefslogtreecommitdiff
path: root/gcc/tree-chrec.h
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2019-07-02 09:35:12 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2019-07-02 09:35:12 +0000
commit2e2c9da012227ba12ce89b6a65179e6c830e7e4b (patch)
tree354cc318aa46f5ae68a4092269813df45e39c1a4 /gcc/tree-chrec.h
parent30ca9fbe9012fb455d55bc8f96d4438b5b271e59 (diff)
tree-core.h (enum tree_index): Add TI_CHREC_DONT_KNOW and TI_CHREC_KNOWN.
2019-07-02 Richard Biener <rguenther@suse.de> * 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
Diffstat (limited to 'gcc/tree-chrec.h')
-rw-r--r--gcc/tree-chrec.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/gcc/tree-chrec.h b/gcc/tree-chrec.h
index dbbc1b182ac..3b5c090ef93 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. */