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

dmalcolm at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Feb 29 16:39:00 GMT 2016


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.


More information about the Gcc-bugs mailing list