public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/18869] New: multiple common blocks in a single line rejected
@ 2004-12-07 13:54 Thomas dot Koenig at online dot de
2004-12-07 15:45 ` [Bug fortran/18869] " steven at gcc dot gnu dot org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: Thomas dot Koenig at online dot de @ 2004-12-07 13:54 UTC (permalink / raw)
To: gcc-bugs
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/18869] multiple common blocks in a single line rejected
2004-12-07 13:54 [Bug fortran/18869] New: multiple common blocks in a single line rejected Thomas dot Koenig at online dot de
@ 2004-12-07 15:45 ` steven at gcc dot gnu dot org
2004-12-07 20:01 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: steven at gcc dot gnu dot org @ 2004-12-07 15:45 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From steven at gcc dot gnu dot org 2004-12-07 15:45 -------
I'll have a look.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |steven at gcc dot gnu dot
|dot org |org
Status|UNCONFIRMED |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18869
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/18869] multiple common blocks in a single line rejected
2004-12-07 13:54 [Bug fortran/18869] New: multiple common blocks in a single line rejected Thomas dot Koenig at online dot de
2004-12-07 15:45 ` [Bug fortran/18869] " steven at gcc dot gnu dot org
@ 2004-12-07 20:01 ` pinskia at gcc dot gnu dot org
2004-12-12 21:12 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-07 20:01 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-07 20:00 -------
Patch here: <http://gcc.gnu.org/ml/gcc-patches/2004-12/msg00464.html>.
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |patch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18869
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/18869] multiple common blocks in a single line rejected
2004-12-07 13:54 [Bug fortran/18869] New: multiple common blocks in a single line rejected Thomas dot Koenig at online dot de
2004-12-07 15:45 ` [Bug fortran/18869] " steven at gcc dot gnu dot org
2004-12-07 20:01 ` pinskia at gcc dot gnu dot org
@ 2004-12-12 21:12 ` cvs-commit at gcc dot gnu dot org
2004-12-12 21:23 ` pinskia at gcc dot gnu dot org
2004-12-12 21:23 ` tobi at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-12-12 21:12 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-12-12 21:12 -------
Subject: Bug 18869
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: tobi@gcc.gnu.org 2004-12-12 21:12:00
Modified files:
gcc/fortran : ChangeLog match.c
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/gfortran.dg: common_1.f90
Log message:
gcc/
PR fortran/18869
* match.c (gfc_match_common): Skip whitespace.
testsuite/
PR fortran/18869
* gfortran.dg/common_1.f90: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcc&r1=1.270&r2=1.271
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/match.c.diff?cvsroot=gcc&r1=1.25&r2=1.26
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4741&r2=1.4742
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/common_1.f90.diff?cvsroot=gcc&r1=NONE&r2=1.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18869
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/18869] multiple common blocks in a single line rejected
2004-12-07 13:54 [Bug fortran/18869] New: multiple common blocks in a single line rejected Thomas dot Koenig at online dot de
` (2 preceding siblings ...)
2004-12-12 21:12 ` cvs-commit at gcc dot gnu dot org
@ 2004-12-12 21:23 ` pinskia at gcc dot gnu dot org
2004-12-12 21:23 ` tobi at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-12 21:23 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18869
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/18869] multiple common blocks in a single line rejected
2004-12-07 13:54 [Bug fortran/18869] New: multiple common blocks in a single line rejected Thomas dot Koenig at online dot de
` (3 preceding siblings ...)
2004-12-12 21:23 ` pinskia at gcc dot gnu dot org
@ 2004-12-12 21:23 ` tobi at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: tobi at gcc dot gnu dot org @ 2004-12-12 21:23 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From tobi at gcc dot gnu dot org 2004-12-12 21:23 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18869
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2004-12-12 21:23 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-07 13:54 [Bug fortran/18869] New: multiple common blocks in a single line rejected Thomas dot Koenig at online dot de
2004-12-07 15:45 ` [Bug fortran/18869] " steven at gcc dot gnu dot org
2004-12-07 20:01 ` pinskia at gcc dot gnu dot org
2004-12-12 21:12 ` cvs-commit at gcc dot gnu dot org
2004-12-12 21:23 ` pinskia at gcc dot gnu dot org
2004-12-12 21:23 ` tobi at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).