https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69650
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |manu at gcc dot gnu.org
--- Comment #5 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to David Malcolm from comment #2)
> Within linemap_add, it transitions from this map:
> (gdb) p map[-1]
> $47 = {<line_map> = {start_location = 32, reason = LC_ENTER}, to_file =
> 0x2161630 "Unified_cpp_js_src35.ii", to_line = 1,
> included_from = -1, sysp = 0 '\000', m_column_and_range_bits = 12,
> m_range_bits = 5}
>
> to this map:
> (gdb) p *map
> $46 = {<line_map> = {start_location = 0, reason = LC_LEAVE}, to_file = 0x0,
> to_line = 0, included_from = 0, sysp = 0 '\000',
> m_column_and_range_bits = 0, m_range_bits = 0}
start_location cannot decrease. What creates this map? Something seems to be
handling wrong the "left but not entered" problem. It should not create a
LC_LEAVE map.