public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/16465] New: gfortran does not accept -ffixed-line-length-72.f
@ 2004-07-10 12:52 billingd at gcc dot gnu dot org
  2004-07-10 12:54 ` [Bug fortran/16465] gfortran does not accept -ffixed-line-length-72 billingd at gcc dot gnu dot org
                   ` (9 more replies)
  0 siblings, 10 replies; 15+ messages in thread
From: billingd at gcc dot gnu dot org @ 2004-07-10 12:52 UTC (permalink / raw)
  To: gcc-bugs

gfortran does not accept the command line arg -ffixed-line-length-72.f,
which is documented in the manual.

Error message is:
f951: error: unrecognized command line option "-fixed-line-length-72.f"

-- 
           Summary: gfortran does not accept -ffixed-line-length-72.f
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: billingd at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: i686-pc-cygwin


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


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

* [Bug fortran/16465] gfortran does not accept -ffixed-line-length-72
  2004-07-10 12:52 [Bug fortran/16465] New: gfortran does not accept -ffixed-line-length-72.f billingd at gcc dot gnu dot org
@ 2004-07-10 12:54 ` billingd at gcc dot gnu dot org
  2004-07-11 12:31 ` tobi at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 15+ messages in thread
From: billingd at gcc dot gnu dot org @ 2004-07-10 12:54 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From billingd at gcc dot gnu dot org  2004-07-10 12:54 -------
Cut and paste error.  Does not accept -ffixed-line-length-72

error is:
f951: warning: unknown register name: line-length-72


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|gfortran does not accept -  |gfortran does not accept -
                   |ffixed-line-length-72.f     |ffixed-line-length-72
   Target Milestone|---                         |3.5.0


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


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

* [Bug fortran/16465] gfortran does not accept -ffixed-line-length-72
  2004-07-10 12:52 [Bug fortran/16465] New: gfortran does not accept -ffixed-line-length-72.f billingd at gcc dot gnu dot org
  2004-07-10 12:54 ` [Bug fortran/16465] gfortran does not accept -ffixed-line-length-72 billingd at gcc dot gnu dot org
@ 2004-07-11 12:31 ` tobi at gcc dot gnu dot org
  2004-07-12  4:53 ` pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 15+ messages in thread
From: tobi at gcc dot gnu dot org @ 2004-07-11 12:31 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From tobi at gcc dot gnu dot org  2004-07-11 12:31 -------
Patch here: http://gcc.gnu.org/ml/fortran/2004-07/msg00117.html

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |documentation, patch
   Last reconfirmed|0000-00-00 00:00:00         |2004-07-11 12:31:12
               date|                            |


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


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

* [Bug fortran/16465] gfortran does not accept -ffixed-line-length-72
  2004-07-10 12:52 [Bug fortran/16465] New: gfortran does not accept -ffixed-line-length-72.f billingd at gcc dot gnu dot org
  2004-07-10 12:54 ` [Bug fortran/16465] gfortran does not accept -ffixed-line-length-72 billingd at gcc dot gnu dot org
  2004-07-11 12:31 ` tobi at gcc dot gnu dot org
@ 2004-07-12  4:53 ` pinskia at gcc dot gnu dot org
  2004-07-17 18:28 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-12  4:53 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-07-12 04:53 -------
Newest patch: <http://gcc.gnu.org/ml/fortran/2004-07/msg00132.html>.

-- 


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


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

* [Bug fortran/16465] gfortran does not accept -ffixed-line-length-72
  2004-07-10 12:52 [Bug fortran/16465] New: gfortran does not accept -ffixed-line-length-72.f billingd at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2004-07-12  4:53 ` pinskia at gcc dot gnu dot org
@ 2004-07-17 18:28 ` pinskia at gcc dot gnu dot org
  2004-07-18 13:00 ` cvs-commit at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-17 18:28 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.5.0                       |---


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


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

* [Bug fortran/16465] gfortran does not accept -ffixed-line-length-72
  2004-07-10 12:52 [Bug fortran/16465] New: gfortran does not accept -ffixed-line-length-72.f billingd at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2004-07-17 18:28 ` pinskia at gcc dot gnu dot org
@ 2004-07-18 13:00 ` cvs-commit at gcc dot gnu dot org
  2004-07-18 13:06 ` cvs-commit at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 15+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-07-18 13:00 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-07-18 13:00 -------
Subject: Bug 16465

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	tobi@gcc.gnu.org	2004-07-18 13:00:35

Modified files:
	gcc/fortran    : ChangeLog lang.opt options.c scanner.c 

Log message:
	PR fortran/16465
	* lang.opt (ffixed-line-length-none, ffixed-line-length-): New
	options.
	(ffixed-line-length-80, ffixed-line-length-132): Remove.
	* options.c (gfc_handle_options): Deal with changed options.
	* scanner.c (load_line): Change second arg to 'char **',
	allocate if pointing to NULL. Keep track of buffer's length.
	Adapt buffer size to overlong lines. Pad lines to full length
	in fixed form.
	(load_file): Adapt to new interface of load_line.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcc&r1=1.133&r2=1.134
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/lang.opt.diff?cvsroot=gcc&r1=1.6&r2=1.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/options.c.diff?cvsroot=gcc&r1=1.7&r2=1.8
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/scanner.c.diff?cvsroot=gcc&r1=1.6&r2=1.7



-- 


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


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

* [Bug fortran/16465] gfortran does not accept -ffixed-line-length-72
  2004-07-10 12:52 [Bug fortran/16465] New: gfortran does not accept -ffixed-line-length-72.f billingd at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2004-07-18 13:00 ` cvs-commit at gcc dot gnu dot org
@ 2004-07-18 13:06 ` cvs-commit at gcc dot gnu dot org
  2004-07-18 13:09 ` [Bug fortran/16465] parser chokes with ffixed-line-length-7 tobi at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 15+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-07-18 13:06 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-07-18 13:06 -------
Subject: Bug 16465

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	tobi@gcc.gnu.org	2004-07-18 13:06:31

Modified files:
	gcc/testsuite  : ChangeLog 
	gcc/testsuite/gfortran.dg/g77: README 
Added files:
	gcc/testsuite/gfortran.dg/g77: ffixed-line-length-0.f 
	                               ffixed-line-length-132.f 
	                               ffixed-line-length-72.f 
	                               ffixed-line-length-none.f 

Log message:
	PR fortran/16465
	* gfortran.dg/g77//ffixed-line-length-0.f,
	gfortran.dg/g77/ffixed-line-length-132.f,
	gfortran.dg/g77/ffixed-line-length-72.f,
	gfortran.dg/g77/ffixed-line-length-none.f: Copy from g77.dg.
	gfortran.dg/g77/README: Update.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4015&r2=1.4016
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/g77/ffixed-line-length-0.f.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/g77/ffixed-line-length-132.f.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/g77/ffixed-line-length-72.f.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/g77/ffixed-line-length-none.f.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/g77/README.diff?cvsroot=gcc&r1=1.1&r2=1.2



-- 


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


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

* [Bug fortran/16465] parser chokes with ffixed-line-length-7
  2004-07-10 12:52 [Bug fortran/16465] New: gfortran does not accept -ffixed-line-length-72.f billingd at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2004-07-18 13:06 ` cvs-commit at gcc dot gnu dot org
@ 2004-07-18 13:09 ` tobi at gcc dot gnu dot org
  2004-07-22 17:59 ` tow21 at cam dot ac dot uk
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 15+ messages in thread
From: tobi at gcc dot gnu dot org @ 2004-07-18 13:09 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From tobi at gcc dot gnu dot org  2004-07-18 13:09 -------
ffixed-line-length-7.f doesn't yet work, this is apparently an issue in the
parser. The testaces looks like this:
       E
      1N
      2D

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|documentation, patch        |rejects-valid
            Summary|gfortran does not accept -  |parser chokes with ffixed-
                   |ffixed-line-length-72       |line-length-7


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


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

* [Bug fortran/16465] parser chokes with ffixed-line-length-7
  2004-07-10 12:52 [Bug fortran/16465] New: gfortran does not accept -ffixed-line-length-72.f billingd at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2004-07-18 13:09 ` [Bug fortran/16465] parser chokes with ffixed-line-length-7 tobi at gcc dot gnu dot org
@ 2004-07-22 17:59 ` tow21 at cam dot ac dot uk
  2004-09-01 14:39 ` tobi at gcc dot gnu dot org
  2005-01-06 14:40 ` tobi at gcc dot gnu dot org
  9 siblings, 0 replies; 15+ messages in thread
From: tow21 at cam dot ac dot uk @ 2004-07-22 17:59 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From tow21 at cam dot ac dot uk  2004-07-22 17:59 -------
(In reply to comment #6) 
> ffixed-line-length-7.f doesn't yet work, this is apparently an issue in the 
> parser. The testaces looks like this: 
>        E 
>       1N 
>       2D 
 
Note that in any case, the standard specifically prohibits breaking a program 
unit END statement over a number of lines in fixed form (See, eg F95 3.3.2.4).  
However, g77 does allow it.  
 

-- 


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


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

* [Bug fortran/16465] parser chokes with ffixed-line-length-7
  2004-07-10 12:52 [Bug fortran/16465] New: gfortran does not accept -ffixed-line-length-72.f billingd at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2004-07-22 17:59 ` tow21 at cam dot ac dot uk
@ 2004-09-01 14:39 ` tobi at gcc dot gnu dot org
  2005-01-06 14:40 ` tobi at gcc dot gnu dot org
  9 siblings, 0 replies; 15+ messages in thread
From: tobi at gcc dot gnu dot org @ 2004-09-01 14:39 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From tobi at gcc dot gnu dot org  2004-09-01 14:39 -------
(In reply to comment #7)
> (In reply to comment #6) 
> > ffixed-line-length-7.f doesn't yet work, this is apparently an issue in the 
> > parser. The testaces looks like this: 
> >        E 
> >       1N 
> >       2D 
>  
> Note that in any case, the standard specifically prohibits breaking a program 
> unit END statement over a number of lines in fixed form (See, eg F95 3.3.2.4).  
> However, g77 does allow it.

Just saw this comment, I had forgotten to add myself to the CC list. We have
this problem with all statements, not just END. At the same time we allow
something like
     END
    1PROGRAM



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tobi at gcc dot gnu dot org


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


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

* [Bug fortran/16465] parser chokes with ffixed-line-length-7
  2004-07-10 12:52 [Bug fortran/16465] New: gfortran does not accept -ffixed-line-length-72.f billingd at gcc dot gnu dot org
                   ` (8 preceding siblings ...)
  2004-09-01 14:39 ` tobi at gcc dot gnu dot org
@ 2005-01-06 14:40 ` tobi at gcc dot gnu dot org
  9 siblings, 0 replies; 15+ messages in thread
From: tobi at gcc dot gnu dot org @ 2005-01-06 14:40 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
OtherBugsDependingO|                            |19292
              nThis|                            |


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


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

* [Bug fortran/16465] parser chokes with ffixed-line-length-7
       [not found] <bug-16465-270@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2006-05-31  5:36 ` david dot billinghurst at comalco dot riotinto dot com dot au
@ 2006-05-31  6:00 ` jvdelisle at gcc dot gnu dot org
  3 siblings, 0 replies; 15+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2006-05-31  6:00 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from jvdelisle at gcc dot gnu dot org  2006-05-31 05:59 -------
Closing.


-- 

jvdelisle at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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


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

* [Bug fortran/16465] parser chokes with ffixed-line-length-7
       [not found] <bug-16465-270@http.gcc.gnu.org/bugzilla/>
  2005-10-23 21:24 ` steven at gcc dot gnu dot org
  2006-05-31  5:16 ` jvdelisle at gcc dot gnu dot org
@ 2006-05-31  5:36 ` david dot billinghurst at comalco dot riotinto dot com dot au
  2006-05-31  6:00 ` jvdelisle at gcc dot gnu dot org
  3 siblings, 0 replies; 15+ messages in thread
From: david dot billinghurst at comalco dot riotinto dot com dot au @ 2006-05-31  5:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from david dot billinghurst at comalco dot riotinto dot com dot au  2006-05-31 05:36 -------
Subject: RE:  parser chokes with ffixed-line-length-7

> ------- Comment #9 from jvdelisle at gcc dot gnu dot org  
> 2006-05-31 05:16 -------
> I think we ought to scrap this.  There is no real point to 
> it,is there?
> 

Yes, this is OK with me.  I was just noting difference with g77.
We don't want to support all the wierd "functionality".

        David


NOTICE
This e-mail and any attachments are private and confidential and may contain
privileged information. If you are not an authorised recipient, the copying or
distribution of this e-mail and any attachments is prohibited and you must not
read, print or act in reliance on this e-mail or attachments.
This notice should not be removed.


-- 


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


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

* [Bug fortran/16465] parser chokes with ffixed-line-length-7
       [not found] <bug-16465-270@http.gcc.gnu.org/bugzilla/>
  2005-10-23 21:24 ` steven at gcc dot gnu dot org
@ 2006-05-31  5:16 ` jvdelisle at gcc dot gnu dot org
  2006-05-31  5:36 ` david dot billinghurst at comalco dot riotinto dot com dot au
  2006-05-31  6:00 ` jvdelisle at gcc dot gnu dot org
  3 siblings, 0 replies; 15+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2006-05-31  5:16 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from jvdelisle at gcc dot gnu dot org  2006-05-31 05:16 -------
I think we ought to scrap this.  There is no real point to it,is there?


-- 


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


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

* [Bug fortran/16465] parser chokes with ffixed-line-length-7
       [not found] <bug-16465-270@http.gcc.gnu.org/bugzilla/>
@ 2005-10-23 21:24 ` steven at gcc dot gnu dot org
  2006-05-31  5:16 ` jvdelisle at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 15+ messages in thread
From: steven at gcc dot gnu dot org @ 2005-10-23 21:24 UTC (permalink / raw)
  To: gcc-bugs



-- 

steven at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |minor


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


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

end of thread, other threads:[~2006-05-31  6:00 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-10 12:52 [Bug fortran/16465] New: gfortran does not accept -ffixed-line-length-72.f billingd at gcc dot gnu dot org
2004-07-10 12:54 ` [Bug fortran/16465] gfortran does not accept -ffixed-line-length-72 billingd at gcc dot gnu dot org
2004-07-11 12:31 ` tobi at gcc dot gnu dot org
2004-07-12  4:53 ` pinskia at gcc dot gnu dot org
2004-07-17 18:28 ` pinskia at gcc dot gnu dot org
2004-07-18 13:00 ` cvs-commit at gcc dot gnu dot org
2004-07-18 13:06 ` cvs-commit at gcc dot gnu dot org
2004-07-18 13:09 ` [Bug fortran/16465] parser chokes with ffixed-line-length-7 tobi at gcc dot gnu dot org
2004-07-22 17:59 ` tow21 at cam dot ac dot uk
2004-09-01 14:39 ` tobi at gcc dot gnu dot org
2005-01-06 14:40 ` tobi at gcc dot gnu dot org
     [not found] <bug-16465-270@http.gcc.gnu.org/bugzilla/>
2005-10-23 21:24 ` steven at gcc dot gnu dot org
2006-05-31  5:16 ` jvdelisle at gcc dot gnu dot org
2006-05-31  5:36 ` david dot billinghurst at comalco dot riotinto dot com dot au
2006-05-31  6:00 ` 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).