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

--- Comment #5 from CVS 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:ca912a39cccdd990ef705768faa7311ac210b3f3

commit r14-2814-gca912a39cccdd990ef705768faa7311ac210b3f3
Author: Nathaniel Shead <nathanielosh...@gmail.com>
Date:   Fri Jun 30 17:05:24 2023 +1000

    c++: Fix ICE with parameter pack of decltype(auto) [PR103497]

    This patch ensures 'type_uses_auto' also checks for usages of 'auto' in
    parameter packs.

            PR c++/103497

    gcc/cp/ChangeLog:

            * pt.cc (type_uses_auto): Check inside parameter packs.

    gcc/testsuite/ChangeLog:

            * g++.dg/cpp1y/decltype-auto-103497.C: New test.

    Signed-off-by: Nathaniel Shead <nathanielosh...@gmail.com>

Reply via email to