public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/64066] New: [F2008] Wrongly accepts ; (semicolon) at ending a null token
@ 2014-11-25 8:52 burnus at gcc dot gnu.org
2015-04-03 12:56 ` [Bug fortran/64066] " dominiq at lps dot ens.fr
0 siblings, 1 reply; 2+ messages in thread
From: burnus at gcc dot gnu.org @ 2014-11-25 8:52 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64066
Bug ID: 64066
Summary: [F2008] Wrongly accepts ; (semicolon) at ending a null
token
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Keywords: accepts-invalid
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: burnus at gcc dot gnu.org
Fortran 2008 permits:
I=1&
;END
i.e. a continued line which starts with a ";".
gfortran wrongly also accepts a null statement terminated with a ';':
;END
That's a "regression" in gfortran 4.6, which adds this feature.
See also thread at
https://groups.google.com/forum/#!topic/comp.lang.fortran/hCuhaQv6JGc ("Short
F2008 program") around 24 November; I believe it was also recently discussed at
the J3 mailing list, but their archive is currently down.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug fortran/64066] [F2008] Wrongly accepts ; (semicolon) at ending a null token
2014-11-25 8:52 [Bug fortran/64066] New: [F2008] Wrongly accepts ; (semicolon) at ending a null token burnus at gcc dot gnu.org
@ 2015-04-03 12:56 ` dominiq at lps dot ens.fr
0 siblings, 0 replies; 2+ messages in thread
From: dominiq at lps dot ens.fr @ 2015-04-03 12:56 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64066
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2015-04-03
Ever confirmed|0 |1
--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Compiling the second test with revision r158253 (2010-04-13) gives the error
;END
1
Error: Semicolon at (1) needs to be preceded by statement
The error has disappeared with r162456 (2010-07-23).
Note that there is no error on trunk (5.0) with -std=f95 or f2003).
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-04-03 12:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-25 8:52 [Bug fortran/64066] New: [F2008] Wrongly accepts ; (semicolon) at ending a null token burnus at gcc dot gnu.org
2015-04-03 12:56 ` [Bug fortran/64066] " dominiq at lps dot ens.fr
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).