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

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Jan  2 18:07:41 2018
New Revision: 256087

URL: https://gcc.gnu.org/viewcvs?rev=256087&root=gcc&view=rev
Log:
        PR c++/83556
        * tree.c (replace_placeholders_r): Pass NULL as last argument to
        cp_walk_tree instead of d->pset.  If non-TREE_CONSTANT and
        non-PLACEHOLDER_EXPR tree has been seen already, set *walk_subtrees
        to false and return.
        (replace_placeholders): Pass NULL instead of &pset as last argument
        to cp_walk_tree.

        * g++.dg/cpp0x/pr83556.C: New test.

Added:
    branches/gcc-7-branch/gcc/testsuite/g++.dg/cpp0x/pr83556.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