Hi Przemek,
Some GCC versions where wrongly modified by Linux distribution authors
and where giving wrong code or GPF during compilation when -O3 was
enabled,
f.e. older Mandrake and Mandriva distros. It's the reason why I never
enabled optimization by default. In some cases I also want to disable
some of GCC features, f.e. automatic function inlining so I need
builds
with reduced optimization or without any optimizations.
We can make -O3 default but it should be enabled only when user does
not
use any other -O? switches in C_USR so if necessary it will be
possible
to disable it without editing make files.
Isn't it so that if someone uses C_USR=-O1, it would
override the default setting? I didn't try this with GCC,
but this is normal command line behavior (if C_USR follows
built-in options), and I do use this with MSVC.
If so, I think this is safe to do.
Also, what do you think of -O4, which is supported by
newer GCC. I don't know from exactly which version,
but older ones seems to silently accept it.
Brgds,
Viktor
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour