[Bug fortran/93581] [9/10 Regression] ICE in gfc_get_dataptr_offset, at fortran/trans-array.c:6951

markeggleston at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Feb 6 10:51:00 GMT 2020


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

markeggleston at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pault at gcc dot gnu.org

--- Comment #4 from markeggleston at gcc dot gnu.org ---
Implementation of "Type parameter inquiry (str%len, a%kind) and Complex parts
(z%re, z%im)" was introduced in PR fortran/40196.

An subsequent ICE was fixed in PR fortran/92753.

Looking at trans-array.c:6951 it is clear that INQUIRY_REF is not handled.

Implementation of this feature is incomplete, unfortunately I do not have the
knowledge to add the missing code.

Related PRs.

PR fortran/93600 ICE in gfc_match_assignment, at fortran/match.c:1366/1340
PR fortran/93580 ICE in gfc_validate_kind(): Got bad kind
PR fortran/93579 ICE in gfc_conv_substring_expr, at fortran/trans-expr.c:8587

I've added Paul Thomas to the cc list as he committed the original
implementation.


More information about the Gcc-bugs mailing list