------- Comment #2 from janus at gcc dot gnu dot org  2008-11-01 14:43 -------
I'm not completely convinced yet that the code in comment #0 is valid. While
g95 accepts it, ifort 11.0 beta says:

c0.f90(4): error #6362: The data types of the argument(s) are invalid.   [LEN]
   character(len=len(x)) :: foo,x
---------------------^
c0.f90(4): error #6415: This name cannot be assigned this data type because it
conflicts with prior uses of the name.   [X]
   character(len=len(x)) :: foo,x
--------------------------------^
compilation aborted for c0.f90 (code 1)

What I'm worrying about: Is it allowed to use len(x) in the declaration of x?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36426

Reply via email to