diff options
author | Trevor Saunders <tbsaunde+gcc@tbsaunde.org> | 2017-07-29 01:39:48 +0000 |
---|---|---|
committer | Trevor Saunders <tbsaunde@gcc.gnu.org> | 2017-07-29 01:39:48 +0000 |
commit | 226b828937458a958cd6d681f9a6d3288b46f58e (patch) | |
tree | 627dd91c830a0f5e6a7e88e05d54defb0223b011 /gcc/fold-const.c | |
parent | 59cdeebcbe85bd9bd94a15f5a768f06c8d013fe2 (diff) | |
download | gcc-226b828937458a958cd6d681f9a6d3288b46f58e.zip gcc-226b828937458a958cd6d681f9a6d3288b46f58e.tar.gz gcc-226b828937458a958cd6d681f9a6d3288b46f58e.tar.bz2 |
use c++ for fold_buildN_loc
gcc/ChangeLog:
2017-07-28 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
* fold-const.c (fold_build1_stat_loc): Remove _stat from name.
(fold_build2_stat_loc): Likewise.
(fold_build3_stat_loc): Likewise.
* fold-const.h (fold_build1, fold_build2, fold_build3): Adjust.
(fold_build1_loc): Remove macro.
(fold_build2_loc): Likewise.
(fold_build3_loc): Likewise.
From-SVN: r250712
Diffstat (limited to 'gcc/fold-const.c')
-rw-r--r-- | gcc/fold-const.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/fold-const.c b/gcc/fold-const.c index 5c1bd43..524208a 100644 --- a/gcc/fold-const.c +++ b/gcc/fold-const.c @@ -12195,8 +12195,8 @@ debug_fold_checksum (const_tree t) expression with code CODE of type TYPE with an operand OP0. */ tree -fold_build1_stat_loc (location_t loc, - enum tree_code code, tree type, tree op0 MEM_STAT_DECL) +fold_build1_loc (location_t loc, + enum tree_code code, tree type, tree op0 MEM_STAT_DECL) { tree tem; #ifdef ENABLE_FOLD_CHECKING @@ -12232,7 +12232,7 @@ fold_build1_stat_loc (location_t loc, OP0 and OP1. */ tree -fold_build2_stat_loc (location_t loc, +fold_build2_loc (location_t loc, enum tree_code code, tree type, tree op0, tree op1 MEM_STAT_DECL) { @@ -12285,7 +12285,7 @@ fold_build2_stat_loc (location_t loc, type TYPE with operands OP0, OP1, and OP2. */ tree -fold_build3_stat_loc (location_t loc, enum tree_code code, tree type, +fold_build3_loc (location_t loc, enum tree_code code, tree type, tree op0, tree op1, tree op2 MEM_STAT_DECL) { tree tem; |