https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103497
--- Comment #5 from CVS Commits ---
The trunk branch has been updated by Jason Merrill :
https://gcc.gnu.org/g:ca912a39cccdd990ef705768faa7311ac210b3f3
commit r14-2814-gca912a39cccdd990ef705768faa7311ac210b3f3
Author: Nathaniel Shead
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