https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89236
Dominique d'Humieres <dominiq at lps dot ens.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2019-02-07 Ever confirmed|0 |1 --- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- AFAICT the returned KIND for MIN and MAX is the KIND of the first argument: print *, kind(min(1_2,2_4)) print *, kind(max(1_4, 3_2)) print *, kind(dim(1_2, 3_4)) print *, kind(mod(6_4, 3_2)) print *, kind(modulo(6_2, 3_4)) end gives 2 4 4 4 4