This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: -fopt-info handling
- From: Richard Biener <richard dot guenther at gmail dot com>
- To: Ulrich Drepper <drepper at gmail dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 5 Jul 2016 12:06:33 +0200
- Subject: Re: -fopt-info handling
- Authentication-results: sourceware.org; auth=none
- References: <CAOPLpQfdgPP5Gu2UZRR_r+0fD1uq=uvfQ8FsnFxgtupNEWT0-g@mail.gmail.com> <CAOPLpQeq+6GVGebd7M3xuKQbEcNRsS0WnPkd4priNmBVDxE-8A@mail.gmail.com>
On Mon, Jul 4, 2016 at 11:45 PM, Ulrich Drepper <drepper@gmail.com> wrote:
> Anyone?
>
> On Mon, Jun 27, 2016 at 1:31 PM, Ulrich Drepper <drepper@gmail.com> wrote:
>> The manual says about -fop-info:
>>
>> If OPTIONS is omitted, it defaults to 'all-all', which means
>> dump all available optimization info from all the passes.
>>
>> The current implementation (at at least recent gcc 6.1) don't follow
>> that, though. They just ignore the option in that case.
>>
>> How about the attached patch? It is simple and doesn't duplicate the
>> information what "all-all" means and instead let's the option parser
>> do the hard work.
I don't think all-all is a useful default. "optimized" may be though.
Richard.