aboutsummaryrefslogtreecommitdiff
path: root/libgcc/libgcov-driver.c
diff options
context:
space:
mode:
authorNicholas Krause <xerofoify@gmail.com>2020-06-23 15:47:37 -0400
committerJason Merrill <jason@redhat.com>2020-06-24 16:07:52 -0400
commit11a751ff77fba92de77b099ec5e1896d3a99d482 (patch)
tree850688658691bd97084bd0e19e71a1cb8590cb76 /libgcc/libgcov-driver.c
parent1e5da6a02fec8aa84bb00966282f420cb70fe4f0 (diff)
downloadgcc-11a751ff77fba92de77b099ec5e1896d3a99d482.zip
gcc-11a751ff77fba92de77b099ec5e1896d3a99d482.tar.gz
gcc-11a751ff77fba92de77b099ec5e1896d3a99d482.tar.bz2
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 <xerofoify@gmail.com>
Diffstat (limited to 'libgcc/libgcov-driver.c')
0 files changed, 0 insertions, 0 deletions