Define c_fully_fold separately for C and C++.
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 2 Dec 2015 19:04:38 +0000 (19:04 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 2 Dec 2015 19:04:38 +0000 (19:04 +0000)
commitda562e320ff87cd8fc9097b890cca3984aa2aa77
tree08c85cdc811c8da6f75b43930fc94de70352d1ab
parent111e415bfa1789033973ea598566bb2eb8bddc8e
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231196 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/c-family/ChangeLog
gcc/c-family/c-common.c
gcc/c-family/c-common.h
gcc/c/ChangeLog
gcc/c/Make-lang.in
gcc/c/c-fold.c [new file with mode: 0644]
gcc/c/c-tree.h
gcc/cp/ChangeLog
gcc/cp/cp-gimplify.c