Commit 58dd1c34 by Dave Love Committed by Dave Love

g77.texi: Assorted minor changes.

1998-11-20  Dave Love  <d.love@dl.ac.uk>
	* g77.texi: Assorted minor changes.

From-SVN: r23733
parent ba716ac9
1998-11-20 Dave Love <d.love@dl.ac.uk>
* g77.texi: Assorted minor changes.
1998-11-19 Dave Love <d.love@dl.ac.uk> 1998-11-19 Dave Love <d.love@dl.ac.uk>
* bugs.texi: Formatting changes from Craig. * bugs.texi: Formatting changes from Craig.
......
...@@ -1471,6 +1471,9 @@ Fortran source code that should not be preprocessed. ...@@ -1471,6 +1471,9 @@ Fortran source code that should not be preprocessed.
Such source code cannot contain any preprocessor directives, such Such source code cannot contain any preprocessor directives, such
as @code{#include}, @code{#define}, @code{#if}, and so on. as @code{#include}, @code{#define}, @code{#if}, and so on.
You can force @samp{.f} files to be preprocessed by @samp{cpp} by using
@samp{-x f77-cpp-input}, @ref{LEX}.
@cindex preprocessor @cindex preprocessor
@cindex C preprocessor @cindex C preprocessor
@cindex cpp preprocessor @cindex cpp preprocessor
...@@ -1491,10 +1494,15 @@ preprocessor directive must be used instead. ...@@ -1491,10 +1494,15 @@ preprocessor directive must be used instead.
@cindex Ratfor preprocessor @cindex Ratfor preprocessor
@cindex programs, ratfor @cindex programs, ratfor
@cindex .r filename suffix @cindex .r filename suffix
@pindex ratfor
@item @var{file}.r @item @var{file}.r
Ratfor source code, which must be preprocessed by the @code{ratfor} Ratfor source code, which must be preprocessed by the @code{ratfor}
command, which is available separately (as it is not yet part of command, which is available separately (as it is not yet part of the GNU
the GNU Fortran distribution). Fortran distribution).
One version in Fortran, adapted for use with @code{g77}, is at
@uref{ftp://members.aol.com/n8tm/rat7.uue} (of uncertain copyright
status). Another, public domain version in C is at
@uref{http://sepwww.stanford.edu/sep/prof/ratfor.shar.2}.
@end table @end table
UNIX users typically use the @file{@var{file}.f} and @file{@var{file}.F} UNIX users typically use the @file{@var{file}.f} and @file{@var{file}.F}
...@@ -2667,8 +2675,8 @@ but not in code like: ...@@ -2667,8 +2675,8 @@ but not in code like:
d = (b + c) * e d = (b + c) * e
@end smallexample @end smallexample
@xref{Floating point precision} for another, potentially better way of For another, potentially better, way of controlling the precision
controlling the precision. @ref{Floating point precision}.
@cindex -fforce-mem option @cindex -fforce-mem option
@cindex options, -fforce-mem @cindex options, -fforce-mem
...@@ -4161,7 +4169,10 @@ by GNU Fortran. ...@@ -4161,7 +4169,10 @@ by GNU Fortran.
@cindex textbooks @cindex textbooks
(If you need a text on Fortran, (If you need a text on Fortran,
a few freely available electronic references have pointers from a few freely available electronic references have pointers from
@uref{http://www.fortran.com/fortran/Books/}.) @uref{http://www.fortran.com/fortran/Books/}. There is a `cooperative
net project', @cite{User Notes on Fortran Programming} at
@uref{ftp://vms.huji.ac.il/fortran/} and mirrors elsewhere; some of this
material might not apply specifically to @code{g77}.)
Part of what defines a particular implementation of a Fortran Part of what defines a particular implementation of a Fortran
system, such as @code{g77}, is the particular characteristics system, such as @code{g77}, is the particular characteristics
...@@ -5592,6 +5603,11 @@ and @samp{0123456789ABCDEFabcdef}, respectively. ...@@ -5592,6 +5603,11 @@ and @samp{0123456789ABCDEFabcdef}, respectively.
(The value for @samp{A} (and @samp{a}) is 10, for @samp{B} and @samp{b} (The value for @samp{A} (and @samp{a}) is 10, for @samp{B} and @samp{b}
is 11, and so on.) is 11, and so on.)
A prefix-radix constant, such as @samp{Z'ABCD'}, can optionally be
treated as typeless. @xref{Fortran Dialect Options,, Options
Controlling Fortran Dialect}, for information on the
@samp{-ftypeless-boz} option.
Typeless constants have values that depend on the context in which Typeless constants have values that depend on the context in which
they are used. they are used.
...@@ -6552,7 +6568,7 @@ and definable by, invocation of the intrinsic (a combination of ...@@ -6552,7 +6568,7 @@ and definable by, invocation of the intrinsic (a combination of
the requirements of @code{INTENT(IN)} and @code{INTENT(OUT)}. the requirements of @code{INTENT(IN)} and @code{INTENT(OUT)}.
@item @item
@xref{Kind Notation} for explanation of @code{KIND}. @xref{Kind Notation}, for an explanation of @code{KIND}.
@end itemize @end itemize
@ifinfo @ifinfo
...@@ -6649,11 +6665,11 @@ they are documented elsewhere. ...@@ -6649,11 +6665,11 @@ they are documented elsewhere.
for information on additional fixed source form lexical issues. In for information on additional fixed source form lexical issues. In
addition, the free source form is supported through the addition, the free source form is supported through the
@cindex @samp{-ffree-form} @cindex @samp{-ffree-form}
@samp{-ffree-form} option. @xref{Fortran 90} for other Fortran 90 @samp{-ffree-form} option. Other Fortran 90 features can be turned on
features be turned on by the by the
@cindex @samp{-ff90} @cindex @samp{-ff90}
@samp{-ff90} option. @xref{Table of Intrinsic Functions} for @samp{-ff90} option, @ref{Fortran 90}. For information on the Fortran
information on the Fortran 90 intrinsics available. 90 intrinsics available @ref{Table of Intrinsic Functions}.
@table @asis @table @asis
@item Automatic arrays in procedures @item Automatic arrays in procedures
...@@ -13417,6 +13433,7 @@ the bug in the current version of GNU Fortran. ...@@ -13417,6 +13433,7 @@ the bug in the current version of GNU Fortran.
@cindex preprocessor @cindex preprocessor
@cindex cpp program @cindex cpp program
@cindex programs, cpp @cindex programs, cpp
@pindex cpp
A complete input file that will reproduce the bug. A complete input file that will reproduce the bug.
If the bug is in the compiler proper (@file{f771}) and If the bug is in the compiler proper (@file{f771}) and
you are using the C preprocessor, run your you are using the C preprocessor, run your
...@@ -14839,6 +14856,12 @@ from @samp{.for} to @samp{.fpp}. ...@@ -14839,6 +14856,12 @@ from @samp{.for} to @samp{.fpp}.
@code{g77} compiles files with such names @emph{with} @code{g77} compiles files with such names @emph{with}
preprocessing. preprocessing.
@pindex cpp
@cindex preprocessor
@cindex cpp program
@cindex programs, cpp
@cindex @samp{-x f77-cpp-input} option
@cindex options, @samp{-x f77-cpp-input}
Or, learn how to use @code{gcc}'s @samp{-x} option to specify Or, learn how to use @code{gcc}'s @samp{-x} option to specify
the language @samp{f77-cpp-input} for Fortran files that the language @samp{f77-cpp-input} for Fortran files that
require preprocessing. require preprocessing.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment