This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/21302] New: Max line length in free form mode
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Apr 2005 19:27:03 -0000
- Subject: [Bug fortran/21302] New: Max line length in free form mode
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
I don't know if this is not a bug but I found this will looking into 21300, take the following Fortran free
formed code:
if
(abs(aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa).gt.999.d0.or.abs(bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb).gt.99
9.d0.or.abs(cccccccccccccccccccc).gt.999.d0) THEN
endif
end program
Note the if is all on the same line.
We get an error (and a warning with -Wline-truncation) but I don't think free form should have a line
lenght limit.
--
Summary: Max line length in free form mode
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Keywords: rejects-valid
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21302