This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/24641] New: rejecting valid code
- From: "uttamp at us dot ibm dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Nov 2005 19:27:31 -0000
- Subject: [Bug fortran/24641] New: rejecting valid code
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
$ cat test_cmt.f90
program test_comments
real :: &
&
a
end program test_comments
$ This is a valid code (i think) checked against Lahey's syntax checker,
getting rejected by gfortran.
$ gfortran test_cmt.f90
In file test_cmt.f90:2
real :: &
1
Error: Syntax error in data declaration at (1)
In file test_cmt.f90:4
a
1
Error: Unclassifiable statement at (1)
$ gfortran -v is gcc version 4.1.0 20051101 (experimental)
--
Summary: rejecting valid code
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=24641