- Switching from -O to -O2 after the dthelp problem has been resolved - Introducing -fno-strict-aliasing (currently FreeBSD's default) to avoid silent change of behaviour of legacy code.
http://thiemonagel.de/2010/01/no-strict-aliasing/ http://jeffreystedfast.blogspot.de/2010/01/weird-bugs-due-to-gcc-44-and-strict.html Analysis of C99 aliasing (we are not C99 yet): http://davmac.wordpress.com/2010/02/26/c99-revisited/ --- cde/config/cf/FreeBSD.cf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cde/config/cf/FreeBSD.cf b/cde/config/cf/FreeBSD.cf index cc6bf13..fc73902 100644 --- a/cde/config/cf/FreeBSD.cf +++ b/cde/config/cf/FreeBSD.cf @@ -138,14 +138,14 @@ XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVe /* The GCC strength-reduce bug is fixed for FreeBSD 2.1.5 and later */ #ifndef DefaultGcc2i386Opt #if OSMajorVersion > 2 || (OSMajorVersion == 2 && OSMinorVersion > 1) || (OSMajorVersion == 2 && OSMinorVersion == 1 && OSTeenyVersion >= 5) -#define DefaultGcc2i386Opt -O +#define DefaultGcc2i386Opt -O2 -fno-strict-aliasing #endif #endif #ifdef i386Architecture # define OptimizedCDebugFlags DefaultGcc2i386Opt #else -# define OptimizedCDebugFlags -O +# define OptimizedCDebugFlags -O2 -fno-strict-aliasing #endif #define ServerExtraDefines GccGasOption XFree86ServerDefines -- 1.7.11.5 ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ cdesktopenv-devel mailing list cdesktopenv-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel