I will need as much as possible speed for my next project where i will use NS but i do not experience with gcc optimization either. But in previous work i always wanted debugging info and sometimes -ON flags messed with gdb because of optimization. I say let's use -fno-strict-aliasing but use -fstrict-aliasing when compile for make test. That way we can clean up code.

Zoran Vasiljevic wrote:

Am 11.06.2005 um 21:50 schrieb Vlad Seryakov:

I went through google about this and found out that many projects like Linux, PostgreSQL and others use -fno-strict-aliasing. And nobody could determine if this affects optimnization, so we can use that flag as well and in the meantime slowly change the code.


This is what I thought at the first glance but did not want
to undertake anything until we clear this out.
I have zero experience about what it meany to use -O switch
because we always compile with symbols and w/o optimization.
This is far more important (to get a decent coredump) then
some (possible marginal) speed improvment. Our server itself
is network/IO-bound and not CPU bound, hence we do not really
care. But you might, therefore I thougt it is better to ask.

Cheers
Zoran


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel

--
Vlad Seryakov
571 262-8608 office
[EMAIL PROTECTED]
http://www.crystalballinc.com/vlad/

Reply via email to