This is the mail archive of the gcc-bugs@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: Optimisation Problem


Thanks Eric.
But i wanted to try them indivisually. Is there any method to do so?
Regards - vikramsp

Eric Botcazou-3 wrote:
> 
>> hello there... i am trying my hands on gcc optimisations options.
>> i tried e.g. -finline-functions, -funroll-loops and the likes but none
>> worked for me
>> for ex. i tried -funroll-loops for code
>> for (int i = 0; i < 3; ++i)
>>   a[i] = i;
> 
> Try -O -funroll-loops.
> 
> -- 
> Eric Botcazou
> 
> 

-- 
View this message in context: http://old.nabble.com/Optimisation-Problem-tp31332686p31339223.html
Sent from the gcc - bugs mailing list archive at Nabble.com.


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