trunk: PATCH: passes with name starting with dot have no dump file.
Basile STARYNKEVITCH
basile@starynkevitch.net
Thu Jul 31 13:24:00 GMT 2008
Dave Korn wrote:
> Basile STARYNKEVITCH wrote on 31 July 2008 12:14:
>
>> Good point. Should I submit a new trivial patch, or is nobody interested
>> in having some way to avoid dump on some passes?
>
> I'm sure there'll be a non-algorithmic maintainer along in a moment or two
> ...
>
>> My motivation is still to be able to have every pass being uniquely named.
>
> I think it's an excellent idea :) and frankly your patch is as close as
> it's possible to be to trivial-and-obvious without actually being trivial
> and obvious - i.e. only because it actually introduces new behaviour.
So here is the updated patch to trunk rev138388
gcc/Changelog:
2008-07-31 Basile Starynkevitch <basile@starynkevitch>
* tree-pass.h: Added comment about not dumping passes with name
starting with dot in struct opt_pass.
* passes.c (register_dump_files_1): Don't do dump for a pass with
name starting with dot.
* doc/passes.texi (Pass manager): Mention pass names and special
meaning of star prefix to avoid dump.
Ok for trunk?
Regards.
--
Basile STARYNKEVITCH http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mines, sont seulement les miennes} ***
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-trunk-r138388-star-pass-name-no-dump.diff
Type: text/x-patch
Size: 1747 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080731/42898b56/attachment.bin>
More information about the Gcc-patches
mailing list