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

--- Comment #8 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Jason Merrill <ja...@gcc.gnu.org>:

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

commit r15-2351-gea381d87ecc711d0003ae6841477ae8000894844
Author: Jason Merrill <ja...@redhat.com>
Date:   Thu Jul 25 23:09:31 2024 -0400

    c++: trait as typename scope [PR116052]

    The stdexec library currently wrongly ends up using __decay as the scope of
    a typename, which leads to a crash.  Let's give an error instead.

            PR c++/116052

    gcc/cp/ChangeLog:

            * mangle.cc (write_prefix): Handle TRAIT_EXPR.

    gcc/testsuite/ChangeLog:

            * g++.dg/ext/decay1.C: New test.

Reply via email to