https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85896
Thomas Koenig <tkoenig at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tkoenig at gcc dot gnu.org --- Comment #3 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- (In reply to G. Steinmetz from comment #0) > Affects versions down to at least 4.8 : > > > $ cat z1.f90 > program p > integer :: min > print *, min('a','b') > end > > > $ cat z2.f90 > program p > real :: max > print *, max('a','b') > end > What is the expected output? Does this declare a new variable "min" or "max", or should the result simply be 'a' (or 'b')? I have looked at the standard, but didn't find anything relevent.