[Bug fortran/70524] [5/6/7 Regression] ICE when using -frepack-arrays -Warray-temporaries
manu at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jun 28 22:11:00 GMT 2016
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.
More information about the Gcc-bugs
mailing list