diff options
author | Trevor Saunders <tbsaunde+gcc@tbsaunde.org> | 2017-07-29 01:38:00 +0000 |
---|---|---|
committer | Trevor Saunders <tbsaunde@gcc.gnu.org> | 2017-07-29 01:38:00 +0000 |
commit | 39d970d7d25c7c6f766768fc2901ba5e39b34bf7 (patch) | |
tree | 9a5b23425450ed90691bdf724ee60855798e4c00 /gcc/tree.c | |
parent | f719e2f1d7675d997fda88be87f65e350d563bc3 (diff) | |
download | gcc-39d970d7d25c7c6f766768fc2901ba5e39b34bf7.zip gcc-39d970d7d25c7c6f766768fc2901ba5e39b34bf7.tar.gz gcc-39d970d7d25c7c6f766768fc2901ba5e39b34bf7.tar.bz2 |
use c++ instead of _stat for copy_node_stat
gcc/cp/ChangeLog:
2017-07-28 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
* lex.c (copy_decl): Adjust.
(copy_type): Likewise.
gcc/ChangeLog:
2017-07-28 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
* tree.c (copy_node_stat): Rename to copy_node.
(build_distinct_type_copy): Adjust.
* tree.h (copy_node_stat): Adjust prototype.
(copy_node): Remove macro.
From-SVN: r250695
Diffstat (limited to 'gcc/tree.c')
-rw-r--r-- | gcc/tree.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1128,7 +1128,7 @@ free_node (tree node) TREE_CHAIN, if it has one, is zero and it has a fresh uid. */ tree -copy_node_stat (tree node MEM_STAT_DECL) +copy_node (tree node MEM_STAT_DECL) { tree t; enum tree_code code = TREE_CODE (node); @@ -6684,7 +6684,7 @@ build_aligned_type (tree type, unsigned int align) tree build_distinct_type_copy (tree type MEM_STAT_DECL) { - tree t = copy_node_stat (type PASS_MEM_STAT); + tree t = copy_node (type PASS_MEM_STAT); TYPE_POINTER_TO (t) = 0; TYPE_REFERENCE_TO (t) = 0; |