https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85896
--- Comment #1 from G. Steinmetz <gs...@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).