From: jason Date: Mon, 17 Nov 2014 18:16:19 +0000 (+0000) Subject: * constexpr.c (use_new_call): Always use new call handling. X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7467eea568f18846239569b45e62aa09068950c5;p=thirdparty%2Fgcc.git * constexpr.c (use_new_call): Always use new call handling. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@217664 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index ae347d8b7301..e6fc326d7549 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,5 +1,7 @@ 2014-11-17 Jason Merrill + * constexpr.c (use_new_call): Always use new call handling. + C++14 constexpr support (minus loops and multiple returns) * constexpr.c (use_new_call): New macro. (build_data_member_initialization): Ignore non-mem-inits. diff --git a/gcc/cp/constexpr.c b/gcc/cp/constexpr.c index 57d0c465d5f2..8881271de242 100644 --- a/gcc/cp/constexpr.c +++ b/gcc/cp/constexpr.c @@ -1021,8 +1021,8 @@ adjust_temp_type (tree type, tree temp) } /* True if we want to use the new handling of constexpr calls based on - DECL_SAVED_TREE. Currently only active for C++14 mode. */ -#define use_new_call (cxx_dialect >= cxx14) + DECL_SAVED_TREE. */ +#define use_new_call true /* Subroutine of cxx_eval_call_expression. We are processing a call expression (either CALL_EXPR or