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++/80829] [7/8 Regression] Use of constexpr constructors with base type instantiation fails compilation


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

--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Mon Jun 19 20:55:21 2017
New Revision: 249386

URL: https://gcc.gnu.org/viewcvs?rev=249386&root=gcc&view=rev
Log:
        PR c++/80829 - ICE with constexpr copy of base subobject.

        * constexpr.c (clear_no_implicit_zero): New.
        (cxx_eval_call_expression): Call it.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-base5.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]