public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/99066] [9 Regression] non-weak definition emitted for explicit instantiation declaration Date: Fri, 13 May 2022 18:24:54 +0000 [thread overview] Message-ID: <bug-99066-4-M3U5y9wamh@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-99066-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99066 --- Comment #10 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:950a97a5039c7b96602edfdf8984b5800f5837f3 commit r9-10179-g950a97a5039c7b96602edfdf8984b5800f5837f3 Author: Jason Merrill <jason@redhat.com> Date: Sun Apr 4 23:32:32 2021 -0400 c++: extern template and static data member [PR99066] 'extern template' should mean that the relevant symbols are never emitted. But in this case we were assuming that DECL_EXTERNAL was already set on the variable, so we just needed to clear DECL_NOT_REALLY_EXTERN. Since DECL_EXTERNAL was not set, we emitted a definition of npos. gcc/cp/ChangeLog: PR c++/99066 * pt.c (mark_decl_instantiated): Set DECL_EXTERNAL. gcc/testsuite/ChangeLog: PR c++/99066 * g++.dg/cpp0x/extern_template-6.C: New test.
next prev parent reply other threads:[~2022-05-13 18:24 UTC|newest] Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-02-10 18:32 [Bug c++/99066] New: " redi at gcc dot gnu.org 2021-02-10 18:39 ` [Bug c++/99066] " jakub at gcc dot gnu.org 2021-02-10 18:44 ` [Bug c++/99066] [8/9/10/11 Regression] " jakub at gcc dot gnu.org 2021-02-10 18:55 ` jakub at gcc dot gnu.org 2021-04-04 15:59 ` jason at gcc dot gnu.org 2021-04-05 13:26 ` jason at gcc dot gnu.org 2021-04-05 13:29 ` cvs-commit at gcc dot gnu.org 2021-04-05 13:30 ` [Bug c++/99066] [8/9/10 " jason at gcc dot gnu.org 2021-04-05 18:58 ` redi at gcc dot gnu.org 2021-05-14 9:54 ` [Bug c++/99066] [9/10 " jakub at gcc dot gnu.org 2021-06-01 8:19 ` rguenth at gcc dot gnu.org 2022-05-13 17:14 ` cvs-commit at gcc dot gnu.org 2022-05-13 18:24 ` cvs-commit at gcc dot gnu.org [this message] 2022-05-13 18:26 ` [Bug c++/99066] [9 " jason at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-99066-4-M3U5y9wamh@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).