https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95672
--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jason Merrill <ja...@gcc.gnu.org>: https://gcc.gnu.org/g:11a751ff77fba92de77b099ec5e1896d3a99d482 commit r11-1641-g11a751ff77fba92de77b099ec5e1896d3a99d482 Author: Nicholas Krause <xerofo...@gmail.com> Date: Tue Jun 23 15:47:37 2020 -0400 c++: Handle bad pack expansion in base list. [PR96752] This fixes PR95672 by adding the missing TYPE_PACK_EXPANSION case in cxx_incomplete_type_diagnostic in order to avoid ICEs on diagnosing incomplete template pack expansion cases. Tested on powerpc64le-unknown-linux-gnu. gcc/cp/ChangeLog: PR c++/95672 * typeck2.c (cxx_incomplete_type_diagnostic): Add missing TYPE_EXPANSION_PACK check for diagnosing incomplete types in cxx_incomplete_type_diagnostic. gcc/testsuite/ChangeLog: PR c++/95672 * g++.dg/template/pr95672.C: New test. Signed-off-by: Nicholas Krause <xerofo...@gmail.com>