This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/69985] [6 Regression] ICE: in linemap_position_for_loc_and_offset, at libcpp/line-map.c:924
- From: "manu at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 27 Feb 2016 15:58:52 +0000
- Subject: [Bug c/69985] [6 Regression] ICE: in linemap_position_for_loc_and_offset, at libcpp/line-map.c:924
- Auto-submitted: auto-generated
- References: <bug-69985-4 at http dot gcc dot gnu dot org/bugzilla/>
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.