From: Jason Merrill Date: Mon, 17 Nov 2014 18:16:19 +0000 (-0500) Subject: * constexpr.c (use_new_call): Always use new call handling. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e6b021859d9ca64b8a9f1bcfda8b8f6319be7d71;p=gcc.git * constexpr.c (use_new_call): Always use new call handling. From-SVN: r217664 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index ae347d8b730..e6fc326d754 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 57d0c465d5f..8881271de24 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