------- Comment #2 from fxcoudert at gcc dot gnu dot org 2005-11-26 10:04 ------- This was fixed at some point, since current gfortran mainline (4.2) does it the way you want:
$ gfortran u.f90 && ./a.out test string But indeed, Intel output a garbage string, g95 and Sun f90 reject the code. Can someone confirm that this code is indeed processor-dependent according to the standard? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25030