Commit e6b02185 by Jason Merrill Committed by Jason Merrill

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

From-SVN: r217664
parent 60813a46
2014-11-17 Jason Merrill <jason@redhat.com> 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) C++14 constexpr support (minus loops and multiple returns)
* constexpr.c (use_new_call): New macro. * constexpr.c (use_new_call): New macro.
(build_data_member_initialization): Ignore non-mem-inits. (build_data_member_initialization): Ignore non-mem-inits.
......
...@@ -1021,8 +1021,8 @@ adjust_temp_type (tree type, tree temp) ...@@ -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 /* True if we want to use the new handling of constexpr calls based on
DECL_SAVED_TREE. Currently only active for C++14 mode. */ DECL_SAVED_TREE. */
#define use_new_call (cxx_dialect >= cxx14) #define use_new_call true
/* Subroutine of cxx_eval_call_expression. /* Subroutine of cxx_eval_call_expression.
We are processing a call expression (either CALL_EXPR or We are processing a call expression (either CALL_EXPR or
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment