mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-25 20:14:46 +08:00
* constexpr.c (use_new_call): Always use new call handling.
From-SVN: r217664
This commit is contained in:
parent
60813a463b
commit
e6b021859d
@ -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.
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user