[Bug fortran/85896] ICE in gfc_convert_constant(): Unexpected type
gscfq@t-online.de
gcc-bugzilla@gcc.gnu.org
Wed May 23 19:24:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85896
--- Comment #1 from G. Steinmetz <gscfq@t-online.de> ---
This variant should not compile :
$ cat z3.f90
program p
character(:) :: max
print *, max('a','b')
end
$ gfortran-9-20180520 z3.f90 -static-libgfortran
$ a.out
b
It's a regression since about 20171210 (20171203: ICE from above).
More information about the Gcc-bugs
mailing list