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: -fopt-info handling


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.


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