https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85547
kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 CC| |kargl at gcc dot gnu.org --- Comment #3 from kargl at gcc dot gnu.org --- workaround. Create a temporary. character(len=:), allocatable :: s(:) path = 'xyz/' s = (/ character(16) :: & trim(path) // "one", & trim(path) // "three", & trim(path) // "five", & trim(path) // "eight", & trim(path) // "forty two" /) call print_strings (s)