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++/84449] [7/8 Regression] ICE with constexpr and deleted destructor


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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Feb 20 08:21:36 2018
New Revision: 257839

URL: https://gcc.gnu.org/viewcvs?rev=257839&root=gcc&view=rev
Log:
        PR c++/84449
        * tree.c (bot_manip): If build_cplus_new or break_out_target_exprs
        returns error_mark_node, return it immediately.
        (break_out_target_exprs): If cp_walk_tree with bot_manip returns
        error_mark_node, return error_mark_node.

        * g++.dg/cpp0x/constexpr-84449.C: New test.

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

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