This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/24641] New: rejecting valid code


$ 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]