From: Trevor Saunders Date: Sat, 29 Jul 2017 01:38:51 +0000 (+0000) Subject: use c++ for tree_cons_stat X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=126d0cd4ad80409b318ed68ad1d5129206fec394;p=gcc.git use c++ for tree_cons_stat gcc/ChangeLog: 2017-07-28 Trevor Saunders * tree.c (tree_cons_stat): Remove _stat from name. * tree.h (tree_cons): Remove macro. From-SVN: r250703 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a9f98baa557..17f66373062 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2017-07-28 Trevor Saunders + + * tree.c (tree_cons_stat): Remove _stat from name. + * tree.h (tree_cons): Remove macro. + 2017-07-28 Trevor Saunders * tree.c (build_vl_exp_stat): Remove _stat from name. diff --git a/gcc/tree.c b/gcc/tree.c index fd25fd50157..e630316300f 100644 --- a/gcc/tree.c +++ b/gcc/tree.c @@ -2898,7 +2898,7 @@ build_tree_list_vec_stat (const vec *vec MEM_STAT_DECL) and whose TREE_CHAIN is CHAIN. */ tree -tree_cons_stat (tree purpose, tree value, tree chain MEM_STAT_DECL) +tree_cons (tree purpose, tree value, tree chain MEM_STAT_DECL) { tree node; diff --git a/gcc/tree.h b/gcc/tree.h index ca50de5c747..7ecfb947fe2 100644 --- a/gcc/tree.h +++ b/gcc/tree.h @@ -4339,8 +4339,7 @@ extern tree chainon (tree, tree); /* Make a new TREE_LIST node from specified PURPOSE, VALUE and CHAIN. */ -extern tree tree_cons_stat (tree, tree, tree MEM_STAT_DECL); -#define tree_cons(t,q,w) tree_cons_stat (t,q,w MEM_STAT_INFO) +extern tree tree_cons (tree, tree, tree CXX_MEM_STAT_INFO); /* Return the last tree node in a chain. */