[Bug fortran/93581] [9/10 Regression] ICE in gfc_get_dataptr_offset, at fortran/trans-array.c:6951
burnus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Apr 2 09:28:31 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93581
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |burnus at gcc dot gnu.org
--- Comment #7 from Tobias Burnus <burnus at gcc dot gnu.org> ---
Patch was submitted at
https://gcc.gnu.org/pipermail/fortran/2020-March/054050.html
And committed as r10-7081-g9de42a8e995451cb13dceb3970ae23ff88240bff
[As far as I could see, it was not yet backported to GCC 9.]
commit 9de42a8e995451cb13dceb3970ae23ff88240bff
Author: Paul Thomas <pault@pc30.home>
Date: Sun Mar 8 18:52:35 2020 +0000
Patch and ChangeLogs for PR93581
+2020-03-08 Paul Thomas <pault@gcc.gnu.org>
+
+ PR fortran/93581
+ * resolve.c (gfc_resolve_ref): Modify array refs to be elements
+ if the ref chain ends in INQUIRY_LEN.
+ * trans-array.c (gfc_get_dataptr_offset): Provide the offsets
+ for INQUIRY_RE and INQUIRY_IM.
+
+2020-03-08 Paul Thomas <pault@gcc.gnu.org>
+
+ PR fortran/93581
+ * gfortran.dg/inquiry_type_ref_6.f90 : New test.
+
More information about the Gcc-bugs
mailing list