[Bug c++/122494] [13/14 Regression] gcc rejects valid C++ codes with generic lambda and concepts; causing a not completed class

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Mar 28 18:50:53 GMT 2026


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

--- Comment #15 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-15 branch has been updated by Patrick Palka
<ppalka@gcc.gnu.org>:

https://gcc.gnu.org/g:2241491c24848355a713532eecdc1ce0df35fc1d

commit r15-11011-g2241491c24848355a713532eecdc1ce0df35fc1d
Author: Patrick Palka <ppalka@redhat.com>
Date:   Wed Mar 11 10:00:57 2026 -0400

    c++: add fixed test [PR124389]

    This one is also fixed by r16-7055.  The testcases from that commit
    utilize the concepts satisfaction cache, whereas this one utilizes
    the constexpr call cache.

            PR c++/124389
            PR c++/122494

    gcc/testsuite/ChangeLog:

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

    (cherry picked from commit 909d18c29145edef4fdd0e1aeb07dfce11c1c9f9)


More information about the Gcc-bugs mailing list