This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/80077] [7 Regression] constant expressions and -fno-elide-constructors


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]