[gcc r14-380] Remove unused friends in int_range<>.

Aldy Hernandez aldyh@gcc.gnu.org
Mon May 1 06:47:06 GMT 2023


https://gcc.gnu.org/g:19a5b824ef1486a5caf94c7cde7facb2dd4fd96e

commit r14-380-g19a5b824ef1486a5caf94c7cde7facb2dd4fd96e
Author: Aldy Hernandez <aldyh@redhat.com>
Date:   Mon May 1 08:45:42 2023 +0200

    Remove unused friends in int_range<>.
    
    gcc/ChangeLog:
    
            * value-range.h (class int_range): Remove gt_ggc_mx and gt_pch_nx
            friends.

Diff:
---
 gcc/value-range.h | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/gcc/value-range.h b/gcc/value-range.h
index 5cff50e6d03..ab8d7d3c5dc 100644
--- a/gcc/value-range.h
+++ b/gcc/value-range.h
@@ -216,11 +216,6 @@ public:
 protected:
   int_range (tree, tree, value_range_kind = VR_RANGE);
 private:
-  template <unsigned X> friend void gt_ggc_mx (int_range<X> *);
-  template <unsigned X> friend void gt_pch_nx (int_range<X> *);
-  template <unsigned X> friend void gt_pch_nx (int_range<X> *,
-					       gt_pointer_operator, void *);
-
   wide_int m_ranges[N*2];
 };


More information about the Gcc-cvs mailing list