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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Sat Mar  3 13:37:05 2018
New Revision: 258199

URL: https://gcc.gnu.org/viewcvs?rev=258199&root=gcc&view=rev
Log:
        Backported from mainline
        2018-02-20  Jakub Jelinek  <ja...@redhat.com>

        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:
    branches/gcc-7-branch/gcc/testsuite/g++.dg/cpp0x/constexpr-84449.C
Modified:
    branches/gcc-7-branch/gcc/cp/ChangeLog
    branches/gcc-7-branch/gcc/cp/tree.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog

Reply via email to