This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/69985] [6 Regression] ICE: in linemap_position_for_loc_and_offset, at libcpp/line-map.c:924


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69985

--- Comment #20 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
In r230331 I added a range-packing optimization; looks like I forgot to update
linemap_position_for_loc_and_offset accordingly.  Sorry.  The input "offset" is
a column offset, and that is no longer applicable as a offset to loc.

I'm investigating a fix.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]