public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/24641] New: rejecting valid code
@ 2005-11-02 19:27 uttamp at us dot ibm dot com
2005-11-02 21:45 ` [Bug fortran/24641] " tobi at gcc dot gnu dot org
0 siblings, 1 reply; 2+ messages in thread
From: uttamp at us dot ibm dot com @ 2005-11-02 19:27 UTC (permalink / raw)
To: gcc-bugs
$ 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
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug fortran/24641] rejecting valid code
2005-11-02 19:27 [Bug fortran/24641] New: rejecting valid code uttamp at us dot ibm dot com
@ 2005-11-02 21:45 ` tobi at gcc dot gnu dot org
0 siblings, 0 replies; 2+ messages in thread
From: tobi at gcc dot gnu dot org @ 2005-11-02 21:45 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from tobi at gcc dot gnu dot org 2005-11-02 21:45 -------
This is not valid code. See section 3.3.1.3:
'No line shall contain a single "&" as the only non-blank character ...'
--
tobi at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tobi at gcc dot gnu dot org
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24641
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-11-02 21:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-02 19:27 [Bug fortran/24641] New: rejecting valid code uttamp at us dot ibm dot com
2005-11-02 21:45 ` [Bug fortran/24641] " 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).