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]

-fopt-info handling


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.

Attachment: d-gcc-opt-info
Description: Binary data


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