]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Tag 'gcc/gimple-expr.cc:mark_addressable_2' as 'static'
authorThomas Schwinge <thomas@codesourcery.com>
Wed, 15 Dec 2021 21:00:53 +0000 (22:00 +0100)
committerThomas Schwinge <thomas@codesourcery.com>
Mon, 17 Oct 2022 12:05:23 +0000 (14:05 +0200)
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'.

gcc/gimple-expr.cc

index c9c7285efbc64840d126482590c8bcb046bd1334..4fbce9369c7f6db54f0d02f80bde0ab09f34177a 100644 (file)
@@ -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);