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

--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Mon Mar 20 02:22:36 2017
New Revision: 246272

URL: https://gcc.gnu.org/viewcvs?rev=246272&root=gcc&view=rev
Log:
        PR c++/80077 - error with constexpr and -fno-elide-constructors.

        * constexpr.c (cxx_eval_call_expression): Set ctx->call while
        expanding trivial constructor.

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

Reply via email to