logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: handling of c flags in configure: msg#00026

Subject: Re: handling of c flags in configure
> It is set to "-g" if the C compiler supports that flag, plus "-O2" if GCC
> is used. This gives a reasonably debuggable optimized build if possible.
> "-O3" is used nowhere in our code.

Looking again into configre.ac, I see that you took O6 out some time ago. But 
you don't put in any optimization level, at all?

And as I said:

 -funroll-all-loops -funroll-loops -finline-functions

are code bloating (and at least the unroll options partially unstable) options 
and it needs to be checked if using them makes sense. (Doing it a perfect way 
would even be applying those flags to individual source files which are 
performance critical, so there won't be bloat in the seldomly used paths...)

-- 
(°=                 =°)
//\ Prakash Punnoor /\\
V_/                 \_V


<Prev in Thread] Current Thread [Next in Thread>