[Bug c++/92003] [8/9 Regression] constexpr-ness of char const* doesn't propagate
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Feb 26 19:26:00 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92003
--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-9 branch has been updated by Jason Merrill
<jason@gcc.gnu.org>:
https://gcc.gnu.org/g:f2f70af7c52720a0905a455425de0d6ca4fb1dc4
commit r9-8293-gf2f70af7c52720a0905a455425de0d6ca4fb1dc4
Author: Jason Merrill <jason@redhat.com>
Date: Wed Feb 26 13:03:23 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-26 Jason Merrill <jason@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.
More information about the Gcc-bugs
mailing list