This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gcc/f/...


I've committed the following patch to the mainline.

        tq vm, (burley)


1999-02-14  Craig Burley  <craig@jcb-sc.com>

	* lang-specs.h, g77.1, g77.texi, news.texi: Recognize `.FOR'
	and `.FPP' as well as `.for' and `.fpp'.

*** egcs-19990211/gcc/f/g77.1.~1~	Wed Dec 16 16:17:06 1998
--- egcs-19990211/gcc/f/g77.1	Sun Feb 14 09:06:58 1999
***************
*** 2,6 ****
  .\" See section COPYING for conditions for redistribution
  .\" FIXME: no info here on predefines.  Should there be?  extra for F77...
! .TH G77 1 "1998-09-01" "GNU Tools" "GNU Tools"
  .de BP
  .sp
--- 2,6 ----
  .\" See section COPYING for conditions for redistribution
  .\" FIXME: no info here on predefines.  Should there be?  extra for F77...
! .TH G77 1 "1999-02-14" "GNU Tools" "GNU Tools"
  .de BP
  .sp
*************** For complete documentation on GNU Fortra
*** 89,100 ****
  F77 source files use the suffix `\|\c
  .B .f\c
! \&\|' or `\|\c
  .B .for\c
  \&\|'; F77 files to be preprocessed by
  .BR cpp ( 1 )
  use the suffix `\|\c
  .B .F\c
! \&\|' or `\|\c
  .B .fpp\c
  \&\|'; Ratfor source files use the suffix `\|\c
  .B .r\c
--- 89,104 ----
  F77 source files use the suffix `\|\c
  .B .f\c
! \&\|', `\|\c
  .B .for\c
+ \&\|', or `\|\c
+ .B .FOR\c
  \&\|'; F77 files to be preprocessed by
  .BR cpp ( 1 )
  use the suffix `\|\c
  .B .F\c
! \&\|', `\|\c
  .B .fpp\c
+ \&\|', or `\|\c
+ .B .FPP\c
  \&\|'; Ratfor source files use the suffix `\|\c
  .B .r\c
*************** file.f    Fortran source file
*** 251,257 ****
--- 255,265 ----
  file.for  Fortran source file
  .br
+ file.FOR  Fortran source file
+ .br
  file.F    preprocessed Fortran source file
  .br
  file.fpp  preprocessed Fortran source file
+ .br
+ file.FPP  preprocessed Fortran source file
  .br
  file.r    Ratfor source file (ratfor not included)
*** egcs-19990211/gcc/f/g77.texi.~1~	Sun Feb 14 04:35:03 1999
--- egcs-19990211/gcc/f/g77.texi	Sun Feb 14 08:43:11 1999
***************
*** 15,19 ****
  @setfilename g77.info
  
! @set last-up-date 1998-09-01
  @set version-g77 0.5.24
  @set email-general egcs@@egcs.cygnus.com
--- 15,19 ----
  @setfilename g77.info
  
! @set last-up-date 1999-02-14
  @set version-g77 0.5.24
  @set email-general egcs@@egcs.cygnus.com
*************** information on suffixes recognized by GN
*** 1465,1470 ****
--- 1465,1474 ----
  
  @table @code
+ @cindex .f filename suffix
+ @cindex .for filename suffix
+ @cindex .FOR filename suffix
  @item @var{file}.f
  @item @var{file}.for
+ @item @var{file}.FOR
  Fortran source code that should not be preprocessed.
  
*************** You can force @samp{.f} files to be prep
*** 1483,1488 ****
--- 1487,1494 ----
  @cindex .F filename suffix
  @cindex .fpp filename suffix
+ @cindex .FPP filename suffix
  @item @var{file}.F
  @item @var{file}.fpp
+ @item @var{file}.FPP
  Fortran source code that must be preprocessed (by the C preprocessor
  @code{cpp}, which is part of GNU CC).
*************** or, if you cannot do that, email
*** 3385,3388 ****
--- 3391,3402 ----
  GNU Fortran @file{.plan} file.
  
+ @heading In @code{egcs 1.2}:
+ @itemize @bullet
+ @item
+ Source file names with the suffixes @samp{.FOR} and @samp{.FPP}
+ now are recognized by @code{g77}
+ as if they ended in @samp{.for} and @samp{.fpp}, respectively.
+ @end itemize
+ 
  @heading In @code{egcs} 1.1 (versus 0.5.24):
  @itemize @bullet
*************** A source file containing lines beginning
*** 14945,14954 ****
  requires preprocessing.
  
! If the file's suffix is @samp{.f} or @samp{.for}, the file
! will normally be compiled @emph{without} preprocessing by @code{g77}.
  
! Change the file's suffix from @samp{.f} to @samp{.F} (or, on
! systems with case-insensitive file names, to @samp{.fpp}) or
! from @samp{.for} to @samp{.fpp}.
  @code{g77} compiles files with such names @emph{with}
  preprocessing.
--- 14959,14971 ----
  requires preprocessing.
  
! If the file's suffix is @samp{.f}, @samp{.for}, or @samp{.FOR},
! the file normally will be compiled @emph{without} preprocessing
! by @code{g77}.
  
! Change the file's suffix from @samp{.f} to @samp{.F}
! (or, on systems with case-insensitive file names,
! to @samp{.fpp} or @samp{.FPP}),
! from @samp{.for} to @samp{.fpp},
! or from @samp{.FOR} to @samp{.FPP}.
  @code{g77} compiles files with such names @emph{with}
  preprocessing.
*** egcs-19990211/gcc/f/lang-specs.h.~1~	Sun Jan 31 12:46:49 1999
--- egcs-19990211/gcc/f/lang-specs.h	Sun Feb 14 08:35:54 1999
*************** the Free Software Foundation, 59 Temple 
*** 27,30 ****
--- 27,31 ----
    {".F", {"@f77-cpp-input"}},
    {".fpp", {"@f77-cpp-input"}},
+   {".FPP", {"@f77-cpp-input"}},
    {"@f77-cpp-input",
       /* For f77 we want -traditional to avoid errors with, for
*************** the Free Software Foundation, 59 Temple 
*** 71,74 ****
--- 72,76 ----
    {".f", {"@f77"}},
    {".for", {"@f77"}},
+   {".FOR", {"@f77"}},
    {"@f77",
     {"%{!M:%{!MM:%{!E:f771 %i %(f771) \
*** egcs-19990211/gcc/f/news.texi.~1~	Sun Feb 14 08:04:10 1999
--- egcs-19990211/gcc/f/news.texi	Sun Feb 14 08:43:37 1999
*************** of what a particular @code{egcs} version
*** 59,62 ****
--- 59,70 ----
  somewhat more difficult.
  
+ @heading In @code{egcs} 1.2:
+ @itemize @bullet
+ @item
+ Source file names with the suffixes @samp{.FOR} and @samp{.FPP}
+ now are recognized by @code{g77}
+ as if they ended in @samp{.for} and @samp{.fpp}, respectively.
+ @end itemize
+ 
  @heading In 0.5.24 and @code{egcs} 1.1.1 (versus 0.5.23 and 1.1):
  @itemize @bullet


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]