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]
Other format: [Raw text]

Re: DOC PATCH: about dump file numbering


On Wed, Nov 24, 2010 at 08:31, Basile Starynkevitch
<basile@starynkevitch.net> wrote:

> This last numbering is confusing (at least to Pierre & to
> me). Actually, the numbering is given by static_pass_number and is not
> related to the dynamic ordering of passes execution.

Right.

> @@ -4968,7 +4968,10 @@ Says to make debugging dumps during compilation at
> Â@var{letters}. ÂThis is used for debugging the RTL-based passes of the
> Âcompiler. ÂThe file names for most of the dumps are made by appending
> Âa pass number and a word to the @var{dumpname}, and the files are
> -created in the directory of the output file. Â@var{dumpname} is
> +created in the directory of the output file. ÂThe pass number is not
> +related to the dynamic order of execution of passes, hence a pass
> +installed by a plugin could have a number above 200 even if it
> +executed quite early. Â@var{dumpname} is

How about: "Note that the pass number is computed statically as passes
get registered into the pass manager.  Thus the numbering is not
related to the dynamic order of execution of passes.  In particular, a
pass installed by a plugin could have a number over 200 even if it
executed quite early."

> 2010-11-24 ÂBasile Starynkevitch Â<basile@starynkevitch.net>
>
> Â Â Â Â* doc/invoke.texi (Options for Debugging Your Program or GCC):
> Â Â Â ÂExplain static numbering of dump files.

OK with the above nits.


Diego.


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