https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86372
--- Comment #3 from janus at gcc dot gnu.org --- (In reply to Dominique d'Humieres from comment #2) > I get the warning with gcc8 and trunk (9.0), but the output is the expected > one: > > **123********************************************* Oh, really? That's interesting. Do you also get the correct output with earlier gfortran versions? Strangely, if I use a shorter string, e.g. "character(len=40) :: s", the segfault disappears, but the output is still only stars. Puzzling.