PR c++/68949
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 26 Jan 2016 21:34:16 +0000 (21:34 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 26 Jan 2016 21:34:16 +0000 (21:34 +0000)
commit6a3851501b462a14d3b16353369db157b732a1a6
tree39f30693c0fcb67ca9098ca43ad7fe4576d05c26
parent58b0f9ce012e0e9d7ceac6d61a76ad6136b0a97e
PR c++/68949

* constexpr.c (register_constexpr_fundef): Keep the un-massaged body.
(cxx_eval_call_expression): Don't look through clones.
* optimize.c (maybe_clone_body): Clear DECL_SAVED_TREE of the alias.
* semantics.c (expand_or_defer_fn_1): Keep DECL_SAVED_TREE of
maybe-in-charge *tor.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@232848 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/constexpr.c
gcc/cp/optimize.c
gcc/cp/semantics.c
gcc/testsuite/g++.dg/cpp0x/constexpr-array15.C [new file with mode: 0644]