public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-3329] Tag 'gcc/gimple-expr.cc:mark_addressable_2' as 'static'
@ 2022-10-17 12:07 Thomas Schwinge
  0 siblings, 0 replies; only message in thread
From: Thomas Schwinge @ 2022-10-17 12:07 UTC (permalink / raw)
  To: gcc-cvs

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);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-10-17 12:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-17 12:07 [gcc r13-3329] Tag 'gcc/gimple-expr.cc:mark_addressable_2' as 'static' Thomas Schwinge

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).