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

--- Comment #6 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to Gerhard Steinmetz from comment #5)
> There is a different ICE for a subset of the above group.

It is probably a similar issue: gfortran is passing a wrong location. You need
to figure out using gdb what loc and offset is being passed to
linemap_position_for_loc_and_offset, where do they come from and what should be
passed instead.

The ICEs should only happen with --enabled-checking. Released compilers do not
ICE but give a wrong location.

Reply via email to