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: trunk: PATCH: passes with name starting with dot have no dump file.


Hello All

Basile STARYNKEVITCH wrote:
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:


My ChangeLog was incorrect (dot word should be star). The diff is still the same, in http://gcc.gnu.org/ml/gcc-patches/2008-07/msg02424.html so I avoid repeating it here.

The better gcc/ChangeLog is

2008-07-31  Basile Starynkevitch  <basile@starynkevitch>
        * tree-pass.h: Added comment about not dumping passes with name
        starting with star in struct opt_pass.

        * passes.c (register_dump_files_1): Don't do dump for a pass with
        name starting with star.

        * doc/passes.texi (Pass manager): mention pass names and special
        meaning of star prefix to avoid dump.

And the patch did bootstrap ok on x86_64-unknown-linux-gnu ..../configure-d with '--disable-multilib' '--enable-languages=c,c++'

Ok for trunk?

NB: I don't know if I have to keep the same subject (to keep the same mailing list thread) or if I can change the subject (here I would like to put start instead of dot in the subject). In other words, what is mattering most, the subject line or the In-Reply-To: mail field?

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} ***


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