[Bug fortran/36426] Endless loop in gfc_apply_interface_mapping_to_expr
janus at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Nov 1 14:44:00 GMT 2008
------- 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
More information about the Gcc-bugs
mailing list