public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Alex Coplan <acoplan@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/vendors/ARM/heads/morello)] varasm: Handle {VAR, PARM}_DECL in tree_innermost_capability Date: Mon, 13 Jun 2022 10:14:16 +0000 (GMT) [thread overview] Message-ID: <20220613101416.5CCDF384B127@sourceware.org> (raw) https://gcc.gnu.org/g:63b4bc6634e17fcc73742635887cb7155cd4a213 commit 63b4bc6634e17fcc73742635887cb7155cd4a213 Author: Alex Coplan <alex.coplan@arm.com> Date: Wed Jun 8 13:01:22 2022 +0100 varasm: Handle {VAR,PARM}_DECL in tree_innermost_capability Diff: --- gcc/varasm.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gcc/varasm.c b/gcc/varasm.c index 2e76f0f725b..79ecf9d9c60 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -4625,6 +4625,10 @@ tree_innermost_capability (const_tree t) switch (TREE_CODE (t)) { + case VAR_DECL: + case PARM_DECL: + /* These can never be assembly constants. */ + return NULL_TREE; case INTEGER_CST: CASE_ADDR_EXPR: return t;
reply other threads:[~2022-06-13 10:14 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20220613101416.5CCDF384B127@sourceware.org \ --to=acoplan@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).