public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/21302] New: Max line length in free form mode
@ 2005-04-30 19:27 pinskia at gcc dot gnu dot org
2005-05-01 18:05 ` [Bug fortran/21302] " kargl at gcc dot gnu dot org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-30 19:27 UTC (permalink / raw)
To: gcc-bugs
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug fortran/21302] Max line length in free form mode
2005-04-30 19:27 [Bug fortran/21302] New: Max line length in free form mode pinskia at gcc dot gnu dot org
@ 2005-05-01 18:05 ` kargl at gcc dot gnu dot org
2005-05-01 18:47 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: kargl at gcc dot gnu dot org @ 2005-05-01 18:05 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From kargl at gcc dot gnu dot org 2005-05-01 18:05 -------
(In reply to comment #0)
> We get an error (and a warning with -Wline-truncation) but I don't think
> free form should have a line lenght limit.
See 3.3.1 from the Standard. "In free source form, each source line may
contain fomr zero to 132 characters and there are restrictions on where
a statement (or portion of a statement) may appear within a line"
I suppose we could implement a -fline-length=N type option.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21302
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug fortran/21302] Max line length in free form mode
2005-04-30 19:27 [Bug fortran/21302] New: Max line length in free form mode pinskia at gcc dot gnu dot org
2005-05-01 18:05 ` [Bug fortran/21302] " kargl at gcc dot gnu dot org
@ 2005-05-01 18:47 ` pinskia at gcc dot gnu dot org
2005-05-11 23:05 ` tobi at gcc dot gnu dot org
2005-08-08 14:33 ` rep dot nop at aon dot at
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-01 18:47 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-01 18:47 -------
(In reply to comment #1)
> I suppose we could implement a -fline-length=N type option.
Then lets call this an enhancement but note it blocks compiling OrbFit which works on XLF, Intel's and
others.
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords|rejects-valid |
Last reconfirmed|0000-00-00 00:00:00 |2005-05-01 18:47:53
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21302
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug fortran/21302] Max line length in free form mode
2005-04-30 19:27 [Bug fortran/21302] New: Max line length in free form mode pinskia at gcc dot gnu dot org
2005-05-01 18:05 ` [Bug fortran/21302] " kargl at gcc dot gnu dot org
2005-05-01 18:47 ` pinskia at gcc dot gnu dot org
@ 2005-05-11 23:05 ` tobi at gcc dot gnu dot org
2005-08-08 14:33 ` rep dot nop at aon dot at
3 siblings, 0 replies; 5+ messages in thread
From: tobi at gcc dot gnu dot org @ 2005-05-11 23:05 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From tobi at gcc dot gnu dot org 2005-05-11 23:05 -------
Actually, we already have this, but only for fixed form. It should be no
problem to generalize this to free form as well.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21302
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug fortran/21302] Max line length in free form mode
2005-04-30 19:27 [Bug fortran/21302] New: Max line length in free form mode pinskia at gcc dot gnu dot org
` (2 preceding siblings ...)
2005-05-11 23:05 ` tobi at gcc dot gnu dot org
@ 2005-08-08 14:33 ` rep dot nop at aon dot at
3 siblings, 0 replies; 5+ messages in thread
From: rep dot nop at aon dot at @ 2005-08-08 14:33 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rep dot nop at aon dot at 2005-08-08 14:33 -------
(From update of attachment 9444)
correct description: it's about free form, not fixed form.
--
What |Removed |Added
----------------------------------------------------------------------------
Attachment #9444|allow -ffixed-line-length in|allow -ffixed-line-length in
description|fixed form |free form
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21302
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-08-08 14:33 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-30 19:27 [Bug fortran/21302] New: Max line length in free form mode pinskia at gcc dot gnu dot org
2005-05-01 18:05 ` [Bug fortran/21302] " kargl at gcc dot gnu dot org
2005-05-01 18:47 ` pinskia at gcc dot gnu dot org
2005-05-11 23:05 ` tobi at gcc dot gnu dot org
2005-08-08 14:33 ` rep dot nop at aon dot at
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).