https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92003
--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-8 branch has been updated by Jason Merrill <ja...@gcc.gnu.org>: https://gcc.gnu.org/g:6e85b76b48ae55377042c859be1f4c2ac49cba26 commit r8-10053-g6e85b76b48ae55377042c859be1f4c2ac49cba26 Author: Jason Merrill <ja...@redhat.com> Date: Mon Feb 24 16:22:45 2020 -0500 cgraph: A COMDAT decl always has non-zero address. We should be able to assume that a template instantiation or other COMDAT has non-zero address even if MAKE_DECL_ONE_ONLY for the target sets DECL_WEAK and we haven't yet decided to emit a definition in this translation unit. gcc/ChangeLog 2020-02-24 Jason Merrill <ja...@redhat.com> PR c++/92003 * symtab.c (symtab_node::nonzero_address): A DECL_COMDAT decl has non-zero address even if weak and not yet defined.