[Bug fortran/24646] New: accepting invalid label
uttamp at us dot ibm dot com
gcc-bugzilla@gcc.gnu.org
Wed Nov 2 22:38:00 GMT 2005
$ cat tst.f
program test
199999 real :: a=5
end program test
$ gfortran tst.f
In file ice.f90:2
199999 a=5
1
Warning: Ignoring bad statement label at (1)
I think the compiler should give hard error with error message something like
"label must be less than or equal to five digits", or
"Statement label contains more than 5 digits.".
--
Summary: accepting invalid label
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: uttamp at us dot ibm dot com
GCC build triplet: powerpc64-linux
GCC host triplet: powerpc64-linux
GCC target triplet: powerpc64-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24646
More information about the Gcc-bugs
mailing list