[Bug fortran/31414] New: Non-integer expression as character length
fxcoudert at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Mar 31 19:55:00 GMT 2007
$ cat foo.f90
character(len=2.3) :: s
print *, len(s)
end
$ gfortran foo.f90
foo.f90:1.16:
character(len=2.3) :: s
1
Error: Expression at (1) must be of INTEGER type
foo.f90:1.16:
character(len=2.3) :: s
1
Error: Expression at (1) must be of INTEGER type
foo.f90:0: internal compiler error: Segmentation fault
--
Summary: Non-integer expression as character length
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Keywords: ice-on-invalid-code, error-recovery
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: fxcoudert at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31414
More information about the Gcc-bugs
mailing list