https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65141
--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- > Confirmed and the problem is in the front end side. Yes, if I remove 'parameter' in the definition of 'string', I get the correct KIND for the section. > The bug is still present in gfortran 5.2.0. It makes it impossible > to modify a substring of a unicode string; it has to be treated as a whole. Still on trunk (6.0)!-(usual answer: "what did you do to fix the PR?").