public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Iain D Sandoe <iains@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/users/iains/heads/d-for-darwin)] d: Add dubious extraneous changes, but leave them commented out. Date: Mon, 21 Dec 2020 20:36:12 +0000 (GMT) [thread overview] Message-ID: <20201221203612.1AE62386F030@sourceware.org> (raw) https://gcc.gnu.org/g:603c217f8af85c40a60f12221ce52609b16c7e63 commit 603c217f8af85c40a60f12221ce52609b16c7e63 Author: Iain Buclaw <ibuclaw@gdcproject.org> Date: Mon Nov 30 15:37:38 2020 +0100 d: Add dubious extraneous changes, but leave them commented out. Diff: --- gcc/d/decl.cc | 7 +++++++ gcc/d/modules.cc | 3 +++ 2 files changed, 10 insertions(+) diff --git a/gcc/d/decl.cc b/gcc/d/decl.cc index a3db4ae6d89..6df92599cb7 100644 --- a/gcc/d/decl.cc +++ b/gcc/d/decl.cc @@ -1330,10 +1330,17 @@ get_symbol_decl (Declaration *decl) TREE_STATIC (decl->csym) = 1; /* The decl has not been defined -- yet. */ +#if 0 // ??? + if (!DECL_INITIAL (decl->csym)) +#endif DECL_EXTERNAL (decl->csym) = 1; if (decl->isInstantiated ()) d_linkonce_linkage (decl->csym); +#if 0 // ??? + else if (VAR_P (decl->csym) && TREE_PUBLIC (decl->csym)) + d_linkonce_linkage (decl->csym); +#endif } /* Symbol is going in thread local storage. */ diff --git a/gcc/d/modules.cc b/gcc/d/modules.cc index 742a24ff0bb..39c4775a3b1 100644 --- a/gcc/d/modules.cc +++ b/gcc/d/modules.cc @@ -173,6 +173,9 @@ build_internal_fn (tree ident, tree expr) TREE_PUBLIC (decl) = 0; TREE_USED (decl) = 1; DECL_ARTIFICIAL (decl) = 1; +#if 0 // ??? + DECL_WEAK (decl) = 0; +#endif return decl; }
next reply other threads:[~2020-12-21 20:36 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-12-21 20:36 Iain D Sandoe [this message] -- strict thread matches above, loose matches on Subject: below -- 2020-12-13 17:42 Iain D Sandoe
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=20201221203612.1AE62386F030@sourceware.org \ --to=iains@gcc.gnu.org \ --cc=gcc-cvs@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).