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/23151] New: print (buf, format), expression should be invalid


The following is illegal:

$ cat print.f90
program main
  character*80 line
  print (line,'(A)'), 'hello'
end program main
$ cat print.f90
program main
  character*80 line
  print (line,'(A)'), 'hello'
end program main
$ gfortran print.f90
$ gfortran -std=f95 print.f90
$ gfortran -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc-4.1/configure --prefix=/home/ig25
--enable-languages=c,f95 : (reconfigured) ../gcc-4.1/configure
--prefix=/home/ig25 --enable-languages=c,f95
Thread model: posix
gcc version 4.1.0 20050726 (experimental)

-- 
           Summary: print (buf, format), expression should be invalid
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Keywords: accepts-invalid, diagnostic
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tkoenig at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23151


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