Re: gcc optimisation problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



no i am not using any -O options. using only individual options
but many of them are not woking. I have applied all the indivisual 
-f* switches on the entire gcc torture testsuite. Interestingly i 
found that only around 15 switches are giving some impact. Is
there any testsuite which can be used to check each and
every -f* switch. 

vikramsp 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;
> 
> which should unroll like
> a[0] = 0
> a[1] = 1
> a[2] = 2
> but it didn't seem to happen.
> please help me write good test case or suggest some. i am using gcc
> 4.1.2. tried 5.4.2 also on rhel5
> 
> Best Regards
> 

-- 
View this message in context: http://old.nabble.com/gcc-optimisation-problem-tp31332634p31333022.html
Sent from the gcc - Help mailing list archive at Nabble.com.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux