https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120812
--- Comment #8 from Christophe Peyret <christophe.peyret at onera dot fr> --- try this on Mac with Fortran 15.1.0 program main use iso_c_binding implicit none character(len=:), pointer :: str =>null() allocate( character(len=11) :: str ) str = “0123456789x” print “((A))", str, str str(11:11) = c_new_line print "((A))”, str, str deallocate(str) end