diff options
author | Jason Merrill <jason@redhat.com> | 2015-12-02 14:04:38 -0500 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2015-12-02 14:04:38 -0500 |
commit | 4250754eea1c10c88f49c9f11b9f912f992b7c42 (patch) | |
tree | 08c85cdc811c8da6f75b43930fc94de70352d1ab /gcc/c/c-tree.h | |
parent | e9ea372d08324b38acbc7234e803f8f128c439b8 (diff) | |
download | gcc-4250754eea1c10c88f49c9f11b9f912f992b7c42.zip gcc-4250754eea1c10c88f49c9f11b9f912f992b7c42.tar.gz gcc-4250754eea1c10c88f49c9f11b9f912f992b7c42.tar.bz2 |
Define c_fully_fold separately for C and C++.
gcc/c-family/
* c-common.c (c_disable_warnings, c_enable_warnings, c_fully_fold)
(c_fully_fold_internal, decl_constant_value_for_optimization):
Move to c/c-fold.c.
* c-common.h: Don't declare decl_constant_value_for_optimization.
gcc/c/
* c-fold.c (c_disable_warnings, c_enable_warnings, c_fully_fold)
(c_fully_fold_internal, decl_constant_value_for_optimization):
Move from c-common.c.
* c-tree.h: Declare decl_constant_value_for_optimization.
* Make-lang.in (C_AND_OBJC_OBJS): Add c-fold.o.
gcc/cp/
* cp-gimplify.c (c_fully_fold): Define.
From-SVN: r231196
Diffstat (limited to 'gcc/c/c-tree.h')
-rw-r--r-- | gcc/c/c-tree.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/c/c-tree.h b/gcc/c/c-tree.h index 848131e..1c07065 100644 --- a/gcc/c/c-tree.h +++ b/gcc/c/c-tree.h @@ -728,4 +728,7 @@ extern void set_c_expr_source_range (c_expr *expr, source_range src_range); +/* In c-fold.c */ +extern tree decl_constant_value_for_optimization (tree); + #endif /* ! GCC_C_TREE_H */ |