https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83704
Thomas Koenig <tkoenig at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tkoenig at gcc dot gnu.org --- Comment #14 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- What about Index: resolve.c =================================================================== --- resolve.c (Revision 256284) +++ resolve.c (Arbeitskopie) @@ -10120,8 +10120,8 @@ resolve_ordinary_assign (gfc_code *code, gfc_names bool rval = false; gfc_expr *lhs; gfc_expr *rhs; - int llen = 0; - int rlen = 0; + ptrdiff_t llen = 0; + ptrdiff_t rlen = 0; int n; gfc_ref *ref; symbol_attribute attr; does this help?