[Bug fortran/85896] ICE in gfc_convert_constant(): Unexpected type
tkoenig at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Oct 27 13:48:00 GMT 2018
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.
More information about the Gcc-bugs
mailing list