https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90674
--- Comment #5 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:0589be0c59767cf4cbb0ef0e7d918cf6aa3d606c commit r11-8165-g0589be0c59767cf4cbb0ef0e7d918cf6aa3d606c Author: Jason Merrill <ja...@redhat.com> Date: Tue Apr 13 20:32:13 2021 -0400 c++: DWARF ICE with defaulted specialization [PR90674] Here when we merged the specialization with the implicit instantiation declaration, we wrongly kept the value of DECL_INITIALIZED_IN_CLASS_P from the latter. gcc/cp/ChangeLog: PR c++/90674 * decl.c (duplicate_decls): Don't propagate DECL_INITIALIZED_IN_CLASS_P to a specialization. gcc/testsuite/ChangeLog: PR c++/90674 * g++.dg/debug/defaulted1.C: New test.