From: Trevor Saunders Date: Sat, 29 Jul 2017 01:38:43 +0000 (+0000) Subject: use c++ instead of build_vl_exp_stat X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7aa717c1d13bf9cb5c8d7d1e0ebe57c94af40700;p=gcc.git use c++ instead of build_vl_exp_stat gcc/ChangeLog: 2017-07-28 Trevor Saunders * tree.c (build_vl_exp_stat): Remove _stat from name. * tree.h (build_vl_exp): Remove macro. From-SVN: r250702 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 21d46e012d4..a9f98baa557 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2017-07-28 Trevor Saunders + + * tree.c (build_vl_exp_stat): Remove _stat from name. + * tree.h (build_vl_exp): Remove macro. + 2017-07-28 Trevor Saunders * tree.c (build_decl_stat): Remove _stat from name. diff --git a/gcc/tree.c b/gcc/tree.c index b763bc08969..fd25fd50157 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 1c8fd57a465..ca50de5c747 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);