This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/18869] New: multiple common blocks in a single line rejected
- From: "Thomas dot Koenig at online dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Dec 2004 13:54:22 -0000
- Subject: [Bug fortran/18869] New: multiple common blocks in a single line rejected
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
gfortran rejects the following valid syntax:
$ cat common.f90
program main
common /foo/ a, /bar/ b
common /baz/ c /foobar/ d
end program main
$ gfortran common.f90
In file common.f90:2
common /foo/ a, /bar/ b
1
Error: Syntax error in COMMON statement at (1)
In file common.f90:3
common /baz/ c /foobar/ d
1
Error: Syntax error in COMMON statement at (1)
--
Summary: multiple common blocks in a single line rejected
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: Thomas dot Koenig at online dot de
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18869