https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89846
Bug ID: 89846 Summary: CFI_select_part creates incorrect descriptor Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: Bader at lrz dot de Target Milestone: --- Created attachment 46033 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46033&action=edit UNIX archive with test case Compiling the source files in the attached archive with gcc -c subobj_01_pos.c gfortran subobj_01_pos.f90 subobj_01_pos.o and executing the result reveals a buggy descriptor created by CFI_select_part: Particularly, the size of the resulting array is incorrect. Within C, the contiguity is incorrectly set.