Commit 1d770e13 by Craig Burley Committed by Craig Burley

clarify g77 bug-reporting docs

From-SVN: r25541
parent 0aa692fc
1999-03-02 Craig Burley <craig@jcb-sc.com>
* g77.texi (Bug Reporting): Clarify whether to use -E.
Clarify other instructions.
1999-02-25 Richard Henderson <rth@cygnus.com> 1999-02-25 Richard Henderson <rth@cygnus.com>
* lang-specs.h: Define __FAST_MATH__ when appropriate. * lang-specs.h: Define __FAST_MATH__ when appropriate.
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
@c %**start of header @c %**start of header
@setfilename g77.info @setfilename g77.info
@set last-up-date 1999-02-25 @set last-up-date 1999-03-02
@set version-g77 0.5.24 @set version-g77 0.5.24
@set email-general egcs@@egcs.cygnus.com @set email-general egcs@@egcs.cygnus.com
@set email-bugs egcs-bugs@@egcs.cygnus.com @set email-bugs egcs-bugs@@egcs.cygnus.com
...@@ -13747,23 +13747,30 @@ the bug in the current version of GNU Fortran. ...@@ -13747,23 +13747,30 @@ the bug in the current version of GNU Fortran.
@cindex programs, cpp @cindex programs, cpp
@pindex 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
you are using the C preprocessor, run your If your source file(s) require preprocessing
source file through the C preprocessor by doing @samp{g77 -E (for example, their names have suffixes like
@var{sourcefile} > @var{outfile}}, then include the contents of @samp{.F}, @samp{.fpp}, @samp{.FPP}, and @samp{.r}),
@var{outfile} in the bug report. (When you do this, use the same and the bug is in the compiler proper (@file{f771})
@samp{-I}, @samp{-D} or @samp{-U} options that you used in actual or in a subsequent phase of processing,
run your source file through the C preprocessor
by doing @samp{g77 -E @var{sourcefile} > @var{newfile}}.
Then, include the contents of @var{newfile} in the bug report.
(When you do this, use the same preprocessor options---such as
@samp{-I}, @samp{-D}, and @samp{-U}---that you used in actual
compilation.) compilation.)
A single statement is not enough of an example. A single statement is not enough of an example.
In order to compile it, In order to compile it,
it must be embedded in a complete file of compiler input; and the bug it must be embedded in a complete file of compiler input.
might depend on the details of how this is done. The bug might depend on the details of how this is done.
Without a real example one can compile, all anyone can do about your bug Without a real example one can compile,
report is wish you luck. It would be futile to try to guess how to all anyone can do about your bug report is wish you luck.
provoke the bug. For example, bugs in register allocation and reloading It would be futile to try to guess how to provoke the bug.
frequently depend on every little detail of the function they happen in. For example, bugs in register allocation and reloading
can depend on every little detail of the source and include files
that trigger them.
@item @item
@cindex included files @cindex included files
......
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