public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/34175]  New: Document when fixed form and when free form source code is assumed
@ 2007-11-21 16:26 burnus at gcc dot gnu dot org
  2007-11-25  2:45 ` [Bug fortran/34175] " pinskia at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: burnus at gcc dot gnu dot org @ 2007-11-21 16:26 UTC (permalink / raw)
  To: gcc-bugs

This was asked for on IRC.
Add something about the following:

.f90, .f95, .f03 (and at some point .f08) and their captial version .F90, .F95,
.F03 (and at some point .F08 for Fortran 2008) will default to free-format
Fortran.

.for, .ftn and .f as well as .F, .FOR, .FTN and .FPP are considered as fixed
form.

The captial version is run through the C Preprocessor (cpp, sometimes also fpp
called) prior compilation; .fpp is run though cpp even though lower cased.

Present version:
http://gcc.gnu.org/onlinedocs/gfortran/GNU-Fortran-and-GCC.html
http://gcc.gnu.org/onlinedocs/gfortran/Preprocessing-and-conditional-compilation.html


-- 
           Summary: Document when fixed form and when free form source code
                    is assumed
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: documentation
          Severity: enhancement
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: burnus at gcc dot gnu dot org


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


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

end of thread, other threads:[~2007-12-02 21:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-21 16:26 [Bug fortran/34175] New: Document when fixed form and when free form source code is assumed burnus at gcc dot gnu dot org
2007-11-25  2:45 ` [Bug fortran/34175] " pinskia at gcc dot gnu dot org
2007-11-25  3:02 ` jvdelisle at gcc dot gnu dot org
2007-11-25 17:25 ` jvdelisle at gcc dot gnu dot org
2007-12-02 21:01 ` 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).