[Bug fortran/25030] Character pointer can associated with not the same length character variable.
fxcoudert at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Nov 26 10:04:00 GMT 2005
------- 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
More information about the Gcc-bugs
mailing list