public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/42852]  New: gfortran -Wall warns about truncated lines when only a continuation character is truncated
@ 2010-01-23 20:03 bugs at 59A2 dot org
  2010-01-23 21:29 ` [Bug fortran/42852] " kargl at gcc dot gnu dot org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: bugs at 59A2 dot org @ 2010-01-23 20:03 UTC (permalink / raw)
  To: gcc-bugs

gfortran -Wall currently warns about truncated lines even when character 73 is
an ampersand.  Observe item (4) of Note 3.10 in the Fortran 2003 standard:


In some circumstances, for example where source code is maintained in an
INCLUDE file for use in programs whose source form might be either
fixed or free, observing the following rules allows the code to be used
with either source form:

(1) Confine statement labels to character positions 1 to 5 and statements
to character positions 7 to 72;

(2) Treat blanks as being significant;

(3) Use only the exclamation mark (!) to indicate a comment, but do not start
the comment in character position 6;

(4) For continued statements, place an ampersand (&) in both character position
73 of a continued line and character position 6 of a continuing line.


-- 
           Summary: gfortran -Wall warns about truncated lines when only a
                    continuation character is truncated
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bugs at 59A2 dot org
 GCC build triplet: gcc-4.5-20100121


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


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2010-07-25 19:23 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-23 20:03 [Bug fortran/42852] New: gfortran -Wall warns about truncated lines when only a continuation character is truncated bugs at 59A2 dot org
2010-01-23 21:29 ` [Bug fortran/42852] " kargl at gcc dot gnu dot org
2010-01-23 21:54 ` bugs at 59A2 dot org
2010-01-24  0:57 ` kargl at gcc dot gnu dot org
2010-01-25 10:33 ` bugs at 59A2 dot org
2010-03-01  6:30 ` jvdelisle at gcc dot gnu dot org
2010-03-01  7:32 ` burnus at gcc dot gnu dot org
2010-03-01 14:28 ` jvdelisle at gcc dot gnu dot org
2010-07-25 15:08 ` jvdelisle at gcc dot gnu dot org
2010-07-25 15:35 ` jvdelisle at gcc dot gnu dot org
2010-07-25 15:38 ` jvdelisle at gcc dot gnu dot org
2010-07-25 16:23 ` bugs at 59A2 dot org
2010-07-25 17:02 ` jvdelisle at gcc dot gnu dot org
2010-07-25 19:10 ` jvdelisle at gcc dot gnu dot org
2010-07-25 19:23 ` bugs at 59A2 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).