* constexpr.c (use_new_call): Always use new call handling.

From-SVN: r217664
This commit is contained in:
Jason Merrill 2014-11-17 13:16:19 -05:00 committed by Jason Merrill
parent 60813a463b
commit e6b021859d
2 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,7 @@
2014-11-17 Jason Merrill <jason@redhat.com>
* 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.

View File

@ -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