From: Craig Burley Date: Sat, 3 Apr 1999 21:03:32 +0000 (+0000) Subject: Clean up -fset-g77-defaults and -fversion docs X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d1c32ce14ed88beb16fe765bad8e2adf99c2d4a0;p=gcc.git Clean up -fset-g77-defaults and -fversion docs From-SVN: r26162 --- diff --git a/gcc/f/ChangeLog b/gcc/f/ChangeLog index 4d3b71cdd53..a04b2f5d99b 100644 --- a/gcc/f/ChangeLog +++ b/gcc/f/ChangeLog @@ -1,3 +1,9 @@ +Sat Apr 3 23:57:56 1999 Craig Burley + + * g77.texi: Fix up docs for -fset-g77-defaults, and + describe how internal consistency checking now happens. + (Should have been done for EGCS version 1.1.) + Sat Apr 3 23:29:33 1999 Craig Burley * bugs.texi, g77.texi, lang-options.h, news.texi, top.c: diff --git a/gcc/f/g77.texi b/gcc/f/g77.texi index a6b611ccd3d..0b2eb051a63 100644 --- a/gcc/f/g77.texi +++ b/gcc/f/g77.texi @@ -1635,12 +1635,18 @@ by the @code{g77} and @code{gcc} commands in a GNU Fortran installation: @cindex options, -fversion @cindex printing version information @cindex version information, printing +@cindex consistency checks +@cindex internal consistency checks +@cindex checks, of internal consistency @item -fversion Ensure that the @code{g77}-specific version of the compiler phase is reported, -if run. -(This is supplied automatically when @samp{-v} or @samp{--verbose} +if run, +and, starting in @code{egcs} version 1.1, +that internal consistency checks in the @file{f771} program are run. + +This option is supplied automatically when @samp{-v} or @samp{--verbose} is specified as a command-line option for @code{g77} or @code{gcc} -and when the resulting commands compile Fortran source files.) +and when the resulting commands compile Fortran source files. @cindex -fset-g77-defaults option @cindex options, -fset-g77-defaults @@ -1648,7 +1654,13 @@ and when the resulting commands compile Fortran source files.) @emph{Version info:} This option is obsolete in @code{egcs} as of version 1.1. +The effect is instead achieved +by the @samp{lang_init_options} routine +in @file{egcs/gcc/f/com.c}. +@cindex consistency checks +@cindex internal consistency checks +@cindex checks, of internal consistency Set up whatever @code{gcc} options are to apply to Fortran compilations, and avoid running internal consistency checks that might take some time. @@ -13585,7 +13597,13 @@ some of which are in @file{gcc/toplev.c}. You can set different defaults for @emph{Fortran-oriented} or @emph{Fortran-reticent} compiler options by changing -the way @code{f771} handles the @samp{-fset-g77-defaults} +the source code of @code{g77} and rebuilding. +How to do this depends on the version of @code{g77}: + +@table @code +@item EGCS-1.0 +@itemx FSF +Change the way @code{f771} handles the @samp{-fset-g77-defaults} option, which is always provided as the first option when called by @code{g77} or @code{gcc}. @@ -13609,6 +13627,15 @@ even when the user has not explicitly specified them. Other ``internal'' options such as @samp{-quiet} also are passed via this mechanism. +@item EGCS-1.1 +@itemx EGCS-1.2 +Change the @samp{lang_init_options} routine in @file{egcs/gcc/f/com.c}. + +(Note that these versions of @code{g77} +perform internal consistency checking automatically +when the @samp{-fversion} option is specified.) +@end table + @node Projects @chapter Projects @cindex projects