Optimization Switches

2010-08-26 Thread sharjeel
Hi, I wish to selectively enable specific optimizations to observe its effect on the source. My project requires me to do this analysis. It seemed, the -f* flags would enable me to do that. But it turns out that individual optimizations can't be enabled like that, and all the optimizations at a spe

Re: Optimization Switches

2010-08-26 Thread Jonathan Wakely
On 26 August 2010 12:56, wrote: > > a) Is there any way to observe the effect of a particular optimization, > without the obvious option of using a lot of -fno switches. > b) And do the -f* switches serve any purpose, if I can't enable individual > optimizations using them. You need an optimisat

Re: Optimization Switches

2010-08-26 Thread Jonathan Wakely
Would the wiki be clearer if the word "alone" was added? First, individual optimization options alone (-f*) do not enable optimization

Re: Optimization Switches

2010-08-26 Thread Paul Brook
> Hi, > I wish to selectively enable specific optimizations to observe its effect > on the source. My project requires me to do this analysis. It seemed, the > -f* flags would enable me to do that. But it turns out that individual > optimizations can't be enabled like that, and all the optimization

Re: Optimization Switches

2010-08-28 Thread Sharjeel Imam
On Friday 27 August 2010 06:07 AM, Paul Brook wrote: Hi, I wish to selectively enable specific optimizations to observe its effect on the source. My project requires me to do this analysis. It seemed, the -f* flags would enable me to do that. But it turns out that individual optimizations can't b

Re: Optimization Switches

2010-08-28 Thread Sharjeel Imam
On Thursday 26 August 2010 11:02 PM, Jonathan Wakely wrote: On 26 August 2010 12:56, wrote: a) Is there any way to observe the effect of a particular optimization, without the obvious option of using a lot of -fno switches. b) And do the -f* switches serve any purpose, if I can't enable ind