In trying to decide if the constraints on the partial specialization subsume those on the primary template, we consider whether any of the constraints on the primary template imply the type constraint typename list. We don't have any matching constraints on the primary template, so we look to see if there are any non-atomic constraints that we might be able to decompose in order to produce a match. This function doesn't know how to handle the pack expansion Sequence... and so it crashes. A pack expansion isn't really atomic, but it also won't decompose any further, so treating it as non-atomic here leads to an infinite loop; treating it as atomic, as 6.1 did, fixes the testcase. Tested x86_64-pc-linux-gnu, applying to trunk and 6.