https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78055
--- Comment #2 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- As a test, try this patch. diff --git a/libgfortran/io/io.h b/libgfortran/io/io.h index edc520a9..00ced533 100644 --- a/libgfortran/io/io.h +++ b/libgfortran/io/io.h @@ -514,6 +514,7 @@ typedef struct st_parameter_dt large enough to hold a complex value (two reals) of the largest kind. */ char value[32]; + GFC_IO_INT not_used; formatted_dtio fdtio_ptr; unformatted_dtio ufdtio_ptr; } p; Maybe it is an alignment issue???