diff options
author | Nathan Froyd <froydnj@codesourcery.com> | 2011-04-13 17:04:36 +0000 |
---|---|---|
committer | Nathan Froyd <froydnj@gcc.gnu.org> | 2011-04-13 17:04:36 +0000 |
commit | 9698252f891afa3b9dd14e0dd477d7af7394e3ad (patch) | |
tree | a979fbf5520148bc8c8339121bb3fde792c205be /gcc/tree.h | |
parent | 86d835306c65cbe6c87ac165f5415aedfe3e5969 (diff) | |
download | gcc-9698252f891afa3b9dd14e0dd477d7af7394e3ad.zip gcc-9698252f891afa3b9dd14e0dd477d7af7394e3ad.tar.gz gcc-9698252f891afa3b9dd14e0dd477d7af7394e3ad.tar.bz2 |
tree.h (struct tree_int_cst, [...]): Include tree_typed instead of tree_common.
* tree.h (struct tree_int_cst, struct real_value): Include tree_typed
instead of tree_common.
(struct tree_fixed_cst, struct tree_string, struct tree_complex):
Likewise.
* tree.c (initialize_tree_contains_struct): Mark such nodes as being
TS_TYPED rather than TS_COMMON.
* print-tree.c (print_node) [STRING_CST]: Don't print TREE_CHAIN.
From-SVN: r172386
Diffstat (limited to 'gcc/tree.h')
-rw-r--r-- | gcc/tree.h | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -1455,7 +1455,7 @@ extern void omp_clause_range_check_failed (const_tree, const char *, int, && TREE_INT_CST_LOW (A) < TREE_INT_CST_LOW (B))) struct GTY(()) tree_int_cst { - struct tree_common common; + struct tree_typed typed; double_int int_cst; }; @@ -1468,7 +1468,7 @@ struct real_value; #define TREE_REAL_CST(NODE) (*TREE_REAL_CST_PTR (NODE)) struct GTY(()) tree_real_cst { - struct tree_common common; + struct tree_typed typed; struct real_value * real_cst_ptr; }; @@ -1480,7 +1480,7 @@ struct fixed_value; #define TREE_FIXED_CST(NODE) (*TREE_FIXED_CST_PTR (NODE)) struct GTY(()) tree_fixed_cst { - struct tree_common common; + struct tree_typed typed; struct fixed_value * fixed_cst_ptr; }; @@ -1490,7 +1490,7 @@ struct GTY(()) tree_fixed_cst { ((const char *)(STRING_CST_CHECK (NODE)->string.str)) struct GTY(()) tree_string { - struct tree_common common; + struct tree_typed typed; int length; char str[1]; }; @@ -1500,7 +1500,7 @@ struct GTY(()) tree_string { #define TREE_IMAGPART(NODE) (COMPLEX_CST_CHECK (NODE)->complex.imag) struct GTY(()) tree_complex { - struct tree_common common; + struct tree_typed typed; tree real; tree imag; }; @@ -1509,7 +1509,7 @@ struct GTY(()) tree_complex { #define TREE_VECTOR_CST_ELTS(NODE) (VECTOR_CST_CHECK (NODE)->vector.elements) struct GTY(()) tree_vector { - struct tree_common common; + struct tree_typed typed; tree elements; }; |