public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Jeff Law <law@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-5279] [PATCH 1/2] select .rodata for const volatile variables. Date: Sun, 22 Jan 2023 18:52:39 +0000 (GMT) [thread overview] Message-ID: <20230122185239.223393858D32@sourceware.org> (raw) https://gcc.gnu.org/g:011c0c29a2452e588f255673238460da4167c4c0 commit r13-5279-g011c0c29a2452e588f255673238460da4167c4c0 Author: Cupertino Miranda <cupertino.miranda@oracle.com> Date: Sun Jan 22 11:51:20 2023 -0700 [PATCH 1/2] select .rodata for const volatile variables. gcc/ * config/v850/v850.cc (v850_select_section): Put const volatile objects into read-only sections. Diff: --- gcc/config/v850/v850.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/gcc/config/v850/v850.cc b/gcc/config/v850/v850.cc index 7143a2e1482..367ba033d66 100644 --- a/gcc/config/v850/v850.cc +++ b/gcc/config/v850/v850.cc @@ -2865,7 +2865,6 @@ v850_select_section (tree exp, { int is_const; if (!TREE_READONLY (exp) - || TREE_SIDE_EFFECTS (exp) || !DECL_INITIAL (exp) || (DECL_INITIAL (exp) != error_mark_node && !TREE_CONSTANT (DECL_INITIAL (exp))))
reply other threads:[~2023-01-22 18:52 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=20230122185239.223393858D32@sourceware.org \ --to=law@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).