aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrevor Saunders <tbsaunde+gcc@tbsaunde.org>2017-07-29 01:38:43 +0000
committerTrevor Saunders <tbsaunde@gcc.gnu.org>2017-07-29 01:38:43 +0000
commit7aa717c1d13bf9cb5c8d7d1e0ebe57c94af40700 (patch)
treecc84174b278a127dadca0802b3e1605789e37a1b
parent31b8d81fa67e6bb54e9c5bc40b017d06c4b1bfa5 (diff)
downloadgcc-7aa717c1d13bf9cb5c8d7d1e0ebe57c94af40700.zip
gcc-7aa717c1d13bf9cb5c8d7d1e0ebe57c94af40700.tar.gz
gcc-7aa717c1d13bf9cb5c8d7d1e0ebe57c94af40700.tar.bz2
use c++ instead of build_vl_exp_stat
gcc/ChangeLog: 2017-07-28 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * tree.c (build_vl_exp_stat): Remove _stat from name. * tree.h (build_vl_exp): Remove macro. From-SVN: r250702
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/tree.c2
-rw-r--r--gcc/tree.h3
3 files changed, 7 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 21d46e0..a9f98ba 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2017-07-28 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
+ * tree.c (build_vl_exp_stat): Remove _stat from name.
+ * tree.h (build_vl_exp): Remove macro.
+
+2017-07-28 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
+
* tree.c (build_decl_stat): Remove _stat from name.
* tree.h (build_decl): Remove macro.
diff --git a/gcc/tree.c b/gcc/tree.c
index b763bc0..fd25fd5 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -11248,7 +11248,7 @@ build_omp_clause (location_t loc, enum omp_clause_code code)
object is initialized to zeros. */
tree
-build_vl_exp_stat (enum tree_code code, int len MEM_STAT_DECL)
+build_vl_exp (enum tree_code code, int len MEM_STAT_DECL)
{
tree t;
int length = (len - 1) * sizeof (tree) + sizeof (struct tree_exp);
diff --git a/gcc/tree.h b/gcc/tree.h
index 1c8fd57..ca50de5 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -4039,8 +4039,7 @@ extern tree build_block (tree, tree, tree, tree);
extern tree build_empty_stmt (location_t);
extern tree build_omp_clause (location_t, enum omp_clause_code);
-extern tree build_vl_exp_stat (enum tree_code, int MEM_STAT_DECL);
-#define build_vl_exp(c, n) build_vl_exp_stat (c, n MEM_STAT_INFO)
+extern tree build_vl_exp (enum tree_code, int CXX_MEM_STAT_INFO);
extern tree build_call_nary (tree, tree, int, ...);
extern tree build_call_valist (tree, tree, int, va_list);