https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116714
Patrick Palka <ppalka at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org Status|NEW |ASSIGNED CC| |ppalka at gcc dot gnu.org Keywords|needs-bisection | --- Comment #7 from Patrick Palka <ppalka at gcc dot gnu.org> --- Started with r14-2170 which caused the underlying issue to also affect variable template-ids; as Andrew pointed out the class template-id case was always broken. The problem is premature stripping of the alias in the template-id arguments, causing is_same_v<type, type> to get treated as if is_same_v<decltype([]{}), decltype([]{})> were written.