[Bug c++/95678] [9 Regression] ICE in dependent_type_p, at cp/pt.c:25610
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jun 16 19:18:28 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95678
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-9 branch has been updated by Patrick Palka
<ppalka@gcc.gnu.org>:
https://gcc.gnu.org/g:d9867034e033c08fdabaebfe2f0914d7d9bb25c6
commit r9-8680-gd9867034e033c08fdabaebfe2f0914d7d9bb25c6
Author: Patrick Palka <ppalka@redhat.com>
Date: Tue Jun 16 12:16:02 2020 -0400
c++: zero_init_expr_p of dependent expression [PR95678]
gcc/cp/ChangeLog:
PR c++/95678
* tree.c (zero_init_expr_p): Use uses_template_parms instead of
dependent_type_p.
gcc/testsuite/ChangeLog:
PR c++/95678
* g++.dg/cpp0x/dependent3.C: New test.
(cherry picked from commit 9a453da5cac7b6610cd342a7bea256acba5e61e1)
More information about the Gcc-bugs
mailing list