https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68949

--- Comment #9 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue Jan 26 21:34:16 2016
New Revision: 232848

URL: https://gcc.gnu.org/viewcvs?rev=232848&root=gcc&view=rev
Log:
        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.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-array15.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/constexpr.c
    trunk/gcc/cp/optimize.c
    trunk/gcc/cp/semantics.c

Reply via email to