public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH (pushed)] clang warning: warning: private field 'm_gc' is not used [-Wunused-private-field]
@ 2023-05-03  9:17 Martin Liška
  2023-05-03 11:30 ` Aldy Hernandez
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Liška @ 2023-05-03  9:17 UTC (permalink / raw)
  To: gcc-patches; +Cc: Andrew MacLeod, Aldy Hernandez

Pushed to master as obvious.

Martin

	PR tree-optimization/109693

gcc/ChangeLog:

	* value-range-storage.cc (vrange_allocator::vrange_allocator):
	Remove unused field.
	* value-range-storage.h: Likewise.
---
 gcc/value-range-storage.cc | 1 -
 gcc/value-range-storage.h  | 1 -
 2 files changed, 2 deletions(-)

diff --git a/gcc/value-range-storage.cc b/gcc/value-range-storage.cc
index 7d2de5e8384..14bec500dbc 100644
--- a/gcc/value-range-storage.cc
+++ b/gcc/value-range-storage.cc
@@ -80,7 +80,6 @@ public:
 };
 
 vrange_allocator::vrange_allocator (bool gc)
-  : m_gc (gc)
 {
   if (gc)
     m_alloc = new vrange_ggc_alloc;
diff --git a/gcc/value-range-storage.h b/gcc/value-range-storage.h
index 4ec0da73059..a90b64b2bf0 100644
--- a/gcc/value-range-storage.h
+++ b/gcc/value-range-storage.h
@@ -38,7 +38,6 @@ public:
 private:
   DISABLE_COPY_AND_ASSIGN (vrange_allocator);
   class vrange_internal_alloc *m_alloc;
-  bool m_gc;
 };
 
 // Efficient memory storage for a vrange.
-- 
2.40.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-05-03 11:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-03  9:17 [PATCH (pushed)] clang warning: warning: private field 'm_gc' is not used [-Wunused-private-field] Martin Liška
2023-05-03 11:30 ` Aldy Hernandez

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