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

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Patrick Palka <ppa...@gcc.gnu.org>:

https://gcc.gnu.org/g:fc3fdf0f2196e805a3a43ccb73595c33673670f3

commit r12-1095-gfc3fdf0f2196e805a3a43ccb73595c33673670f3
Author: Patrick Palka <ppa...@redhat.com>
Date:   Thu May 27 14:25:33 2021 -0400

    c++: parameter pack inside static_assert [PR99893]

    Here, we're not finding the parameter pack inside the static_assert because
    STATIC_ASSERT trees are tcc_exceptional, and we weren't explicitly walking
    them in cp_walk_subtrees.

            PR c++/99893

    gcc/cp/ChangeLog:

            * tree.c (cp_walk_subtrees) <case STATIC_ASSERT>: New case.

    gcc/testsuite/ChangeLog:

            * g++.dg/cpp0x/static_assert17.C: New test.
  • [Bug c++/99893] C++20 unexpande... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to