This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/25030] Character pointer can associated with not the same length character variable.



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]