public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/33643]  New: "Line truncated" warning in gfortran if trailing blanks extend beyond 132 columns
@ 2007-10-03 17:35 michael dot a dot richmond at nasa dot gov
  2007-10-03 17:39 ` [Bug fortran/33643] " pinskia at gcc dot gnu dot org
  2007-10-04  3:06 ` jvdelisle at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: michael dot a dot richmond at nasa dot gov @ 2007-10-03 17:35 UTC (permalink / raw)
  To: gcc-bugs

When I compile the program listed below with the command "gfortran -c
sysmat.f90" I get the message "Warning: Line truncated at (1)"

PROGRAM sysmat
! The following line has enough trailing blanks to make it 133 characters long
i = 0                                                                           
END PROGRAM sysmat


-- 
           Summary: "Line truncated" warning in gfortran if trailing blanks
                    extend beyond 132 columns
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: michael dot a dot richmond at nasa dot gov


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


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

* [Bug fortran/33643] "Line truncated" warning in gfortran if trailing blanks extend beyond 132 columns
  2007-10-03 17:35 [Bug fortran/33643] New: "Line truncated" warning in gfortran if trailing blanks extend beyond 132 columns michael dot a dot richmond at nasa dot gov
@ 2007-10-03 17:39 ` pinskia at gcc dot gnu dot org
  2007-10-04  3:06 ` jvdelisle at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-10-03 17:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2007-10-03 17:39 -------
I think this warning is correct even if the characters are spaces.


-- 


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


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

* [Bug fortran/33643] "Line truncated" warning in gfortran if trailing blanks extend beyond 132 columns
  2007-10-03 17:35 [Bug fortran/33643] New: "Line truncated" warning in gfortran if trailing blanks extend beyond 132 columns michael dot a dot richmond at nasa dot gov
  2007-10-03 17:39 ` [Bug fortran/33643] " pinskia at gcc dot gnu dot org
@ 2007-10-04  3:06 ` jvdelisle at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2007-10-04  3:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from jvdelisle at gcc dot gnu dot org  2007-10-04 03:06 -------
This is not a bug.  See the manual:

-ffree-line-length-n
    Set column after which characters are ignored in typical free-form lines in
the source file. The default value is 132. n may be `none', meaning that the
entire line is meaningful. -ffree-line-length-0 means the same thing as
-ffree-line-length-none. 

So you can set it to none or some number larger than 132.

Closing


-- 

jvdelisle at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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


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

end of thread, other threads:[~2007-10-04  3:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-03 17:35 [Bug fortran/33643] New: "Line truncated" warning in gfortran if trailing blanks extend beyond 132 columns michael dot a dot richmond at nasa dot gov
2007-10-03 17:39 ` [Bug fortran/33643] " pinskia at gcc dot gnu dot org
2007-10-04  3:06 ` jvdelisle 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).