Re: RFA: Enhance information recorded by -frecord-gcc-switches

2017-06-09 Thread Jakub Jelinek
On Thu, Jun 08, 2017 at 05:05:15PM +0100, Nick Clifton wrote: > >> Regardless, the point of this patch is to record which options were > >> enabled, via > >> whatever route, in the binaries. This can be useful to users, or > >> distributors, > >> who want to check that, for example, a specific s

Re: RFA: Enhance information recorded by -frecord-gcc-switches

2017-06-08 Thread Nick Clifton
Hi Jakub, >> Regardless, the point of this patch is to record which options were enabled, >> via >> whatever route, in the binaries. This can be useful to users, or >> distributors, >> who want to check that, for example, a specific security option was enabled, >> or >> that a particular a pa

Re: RFA: Enhance information recorded by -frecord-gcc-switches

2017-06-08 Thread Jakub Jelinek
On Thu, Jun 08, 2017 at 03:30:07PM +0100, Nick Clifton wrote: > Hi Richard, > > >>The -frecord-gcc-switches option records the gcc command line. It > >>does not however expand options like -O2 into the optimizations that > >>this enables. > > > > > I think individually enabled passe

Re: RFA: Enhance information recorded by -frecord-gcc-switches

2017-06-08 Thread Nick Clifton
Hi Richard, >>The -frecord-gcc-switches option records the gcc command line. It >>does not however expand options like -O2 into the optimizations that >>this enables. > > I think individually enabled passes by -On are not really useful information > as you generally cannot replace -

Re: RFA: Enhance information recorded by -frecord-gcc-switches

2017-06-08 Thread Richard Biener
On Thu, Jun 8, 2017 at 11:21 AM, Nick Clifton wrote: > Hi Guys, > > The -frecord-gcc-switches option records the gcc command line. It > does not however expand options like -O2 into the optimizations that > this enables. Thus if a user wants to know if a specific optimization > was used

RFA: Enhance information recorded by -frecord-gcc-switches

2017-06-08 Thread Nick Clifton
Hi Guys, The -frecord-gcc-switches option records the gcc command line. It does not however expand options like -O2 into the optimizations that this enables. Thus if a user wants to know if a specific optimization was used when creating an object file, (or library or executable), they