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 #4 from Manuel LÃpez-IbÃÃez <manu at gcc dot gnu.org> ---
(In reply to Markus Trippelsdorf from comment #0)
> If I move the cmds-check.i file to a different directory gcc no longer ICEs,
> so reducing is impossible.

One idea. Do you still have cmds-check.c in that subdir? location_from_offset
will try to re-open the file to find the visual column because GCC's internal
representation does not capture this info.

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