Successfully bootstrapped & regrtested on x86_64-pc-linux-gnu.
Committed to trunk as r279541.

libcpp/ChangeLog:
        PR preprocessor/92982
        * charset.c
        (cpp_string_location_reader::cpp_string_location_reader): Delete
        initialization of m_line_table.
        * include/cpplib.h (cpp_string_location_reader::m_line_table):
        Delete unused member.
---
 libcpp/charset.c        | 1 -
 libcpp/include/cpplib.h | 1 -
 2 files changed, 2 deletions(-)

diff --git a/libcpp/charset.c b/libcpp/charset.c
index 956d2dad5c8..0476b58611b 100644
--- a/libcpp/charset.c
+++ b/libcpp/charset.c
@@ -2237,7 +2237,6 @@ _cpp_default_encoding (void)
 cpp_string_location_reader::
 cpp_string_location_reader (location_t src_loc,
                            line_maps *line_table)
-: m_line_table (line_table)
 {
   src_loc = get_range_from_loc (line_table, src_loc).m_start;
 
diff --git a/libcpp/include/cpplib.h b/libcpp/include/cpplib.h
index e199aecfa48..1349871dc38 100644
--- a/libcpp/include/cpplib.h
+++ b/libcpp/include/cpplib.h
@@ -912,7 +912,6 @@ class cpp_string_location_reader {
  private:
   location_t m_loc;
   int m_offset_per_column;
-  line_maps *m_line_table;
 };
 
 /* A class for storing the source ranges of all of the characters within
-- 
2.21.0

Reply via email to