https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89384
Bug ID: 89384 Summary: CONTIGUOUS dummy argument in BIND(C) interface incorrect when actual is non-contiguous 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 45746 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45746&action=edit test code Fortran 2018 permits CONTIGUOUS dummy arguments also in BIND(C) interfaces. However, currently the passing of a compactified copy required for non-contiguous actual arguments does not work correctly in this context. A test case is attached. Note that the problem does not arise if BIND(C) is removed from the procedure definition.