https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92982
Bug ID: 92982 Summary: cpp_string_location_reader :: m_line_table seems redundant ? Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- Following on from a gcc trunk build with clang, m_line_table seems redundant. After this patch, I still get a build: Index: libcpp/charset.c =================================================================== --- libcpp/charset.c (revision 279450) +++ libcpp/charset.c (working copy) @@ -2248,7 +2248,7 @@ cpp_string_location_reader:: cpp_string_location_reader (location_t src_loc, line_maps *line_table) -: m_line_table (line_table) +// : m_line_table (line_table) dcb: not used { src_loc = get_range_from_loc (line_table, src_loc).m_start; Index: libcpp/include/cpplib.h =================================================================== --- libcpp/include/cpplib.h (revision 279450) +++ libcpp/include/cpplib.h (working copy) @@ -912,7 +912,7 @@ private: location_t m_loc; int m_offset_per_column; - line_maps *m_line_table; + // line_maps *m_line_table; dcb: not used. };