public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Thomas Schwinge <tschwinge@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r13-3329] Tag 'gcc/gimple-expr.cc:mark_addressable_2' as 'static'
Date: Mon, 17 Oct 2022 12:07:32 +0000 (GMT)	[thread overview]
Message-ID: <20221017120732.2D6E93858D28@sourceware.org> (raw)

https://gcc.gnu.org/g:aeb1e2bff95ae17717026905ef404699d91f5c61

commit r13-3329-gaeb1e2bff95ae17717026905ef404699d91f5c61
Author: Thomas Schwinge <thomas@codesourcery.com>
Date:   Wed Dec 15 22:00:53 2021 +0100

    Tag 'gcc/gimple-expr.cc:mark_addressable_2' as 'static'
    
    Added in 2015 r229696 (commit 1b223a9f3489296c625bdb7cc764196d04fd9231)
    "defer mark_addressable calls during expand till the end of expand",
    it has never been used 'extern'ally.
    
            gcc/
            * gimple-expr.cc (mark_addressable_2): Tag as 'static'.

Diff:
---
 gcc/gimple-expr.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/gimple-expr.cc b/gcc/gimple-expr.cc
index c9c7285efbc..4fbce9369c7 100644
--- a/gcc/gimple-expr.cc
+++ b/gcc/gimple-expr.cc
@@ -912,7 +912,7 @@ mark_addressable_1 (tree x)
 
 /* Adaptor for mark_addressable_1 for use in hash_set traversal.  */
 
-bool
+static bool
 mark_addressable_2 (tree const &x, void * ATTRIBUTE_UNUSED = NULL)
 {
   mark_addressable_1 (x);

                 reply	other threads:[~2022-10-17 12:07 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=20221017120732.2D6E93858D28@sourceware.org \
    --to=tschwinge@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: link
Be 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).