https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123693
--- Comment #4 from Manfred Schwarb <manfred99 at gmx dot ch> --- But why remove something that works even after year 2038? It seems that the underlying c-routine works also beyond year 2038. Relaxing the integer check in gfc_check_ltime_gmtime() and calling gmtime_i8 instead of gmtime_i4 in gfc_resolve_gmtime() depending on the argument type would make things work, I guess. I'm not familiar enough with this intrinsic machinery to provide a patch, unfortunately.
