diff options
author | Jason Merrill <jason@redhat.com> | 2003-10-09 01:44:57 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2003-10-09 01:44:57 -0400 |
commit | 1456deafd7978b7201704ac822231c9ac4f260fe (patch) | |
tree | 4afd5b15eb7fe41b0e949cd004d55cb26834adbf /gcc/coverage.c | |
parent | 08cffcce0f0569711be8949bbaf579a54264b9ce (diff) | |
download | gcc-1456deafd7978b7201704ac822231c9ac4f260fe.zip gcc-1456deafd7978b7201704ac822231c9ac4f260fe.tar.gz gcc-1456deafd7978b7201704ac822231c9ac4f260fe.tar.bz2 |
stmt.c (resolve_asm_operand_names): Call check_unique_operand_names here.
* stmt.c (resolve_asm_operand_names): Call check_unique_operand_names
here.
(expand_asm_operands): Not here.
(parse_input_constraint): No longer static.
* tree.h: Declare it.
* coverage.c (build_ctr_info_value): Use build_decl to make a
VAR_DECL.
(create_coverage): Likewise.
java/
* parse.y (patch_assignment): Use make_node to create a BLOCK.
* parse.h (BUILD_PTR_FROM_NAME): Use make_node to create a
POINTER_TYPE.
cp/
* tree.c (build_cplus_new): Use build_decl to create a VAR_DECL.
(build_target_expr_with_type): Likewise.
* pt.c (instantiate_class_template): Sanity check that our
enclosing class has been instantiated.
From-SVN: r72255
Diffstat (limited to 'gcc/coverage.c')
-rw-r--r-- | gcc/coverage.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/coverage.c b/gcc/coverage.c index e6f4129..b02c97c 100644 --- a/gcc/coverage.c +++ b/gcc/coverage.c @@ -637,7 +637,7 @@ build_ctr_info_value (unsigned int counter, tree type) array_type = build_array_type (TREE_TYPE (TREE_TYPE (fields)), array_type); - array = build (VAR_DECL, array_type, NULL_TREE, NULL_TREE); + array = build_decl (VAR_DECL, NULL_TREE, array_type); TREE_STATIC (array) = 1; DECL_NAME (array) = get_identifier (XSTR (ctr_labels[counter], 0)); assemble_variable (array, 0, 0, 0); @@ -824,8 +824,7 @@ create_coverage (void) gcov_info_value = build_gcov_info (); - gcov_info = build (VAR_DECL, TREE_TYPE (gcov_info_value), - NULL_TREE, NULL_TREE); + gcov_info = build_decl (VAR_DECL, NULL_TREE, TREE_TYPE (gcov_info_value)); DECL_INITIAL (gcov_info) = gcov_info_value; TREE_STATIC (gcov_info) = 1; |