diff options
Diffstat (limited to 'gcc/tree.c')
-rw-r--r-- | gcc/tree.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/gcc/tree.c b/gcc/tree.c index d363cfcee6e..e4e289ad201 100644 --- a/gcc/tree.c +++ b/gcc/tree.c @@ -1,5 +1,5 @@ /* Language-independent node constructors for parse phase of GNU compiler. - Copyright (C) 1987-2013 Free Software Foundation, Inc. + Copyright (C) 1987-2014 Free Software Foundation, Inc. This file is part of GCC. @@ -551,6 +551,8 @@ initialize_tree_contains_struct (void) gcc_assert (tree_contains_struct[FUNCTION_DECL][TS_FUNCTION_DECL]); gcc_assert (tree_contains_struct[IMPORTED_DECL][TS_DECL_MINIMAL]); gcc_assert (tree_contains_struct[IMPORTED_DECL][TS_DECL_COMMON]); + gcc_assert (tree_contains_struct[NAMELIST_DECL][TS_DECL_MINIMAL]); + gcc_assert (tree_contains_struct[NAMELIST_DECL][TS_DECL_COMMON]); } @@ -1156,8 +1158,7 @@ build_int_cst_wide (tree type, unsigned HOST_WIDE_INT low, HOST_WIDE_INT hi) case POINTER_TYPE: case REFERENCE_TYPE: - case POINTER_BOUNDS_TYPE: - /* Cache NULL pointer and zero bounds. */ + /* Cache NULL pointer. */ if (!hi && !low) { limit = 1; @@ -3286,7 +3287,6 @@ type_contains_placeholder_1 (const_tree type) switch (TREE_CODE (type)) { case VOID_TYPE: - case POINTER_BOUNDS_TYPE: case COMPLEX_TYPE: case ENUMERAL_TYPE: case BOOLEAN_TYPE: @@ -5476,7 +5476,7 @@ find_decls_types_in_node (struct cgraph_node *n, struct free_lang_data_d *fld) NAMESPACE_DECLs, etc). */ static void -find_decls_types_in_var (struct varpool_node *v, struct free_lang_data_d *fld) +find_decls_types_in_var (varpool_node *v, struct free_lang_data_d *fld) { find_decls_types (v->decl, fld); } @@ -5530,7 +5530,7 @@ static void free_lang_data_in_cgraph (void) { struct cgraph_node *n; - struct varpool_node *v; + varpool_node *v; struct free_lang_data_d fld; tree t; unsigned i; @@ -9692,8 +9692,6 @@ build_common_tree_nodes (bool signed_char, bool short_double) void_type_node = make_node (VOID_TYPE); layout_type (void_type_node); - pointer_bounds_type_node = targetm.chkp_bound_type (); - /* We are not going to have real types in C with less than byte alignment, so we might as well not have any types that claim to have it. */ TYPE_ALIGN (void_type_node) = BITS_PER_UNIT; |