I wonder about general source optimization at compile time: 
```
#pragma GCC visibility push(hidden)
#define _FORTIFY_SOURCE 0
#undef  __STRICT_ANSI__

#if defined __GCC__ && !defined __clang__
#pragma GCC optimize "Ofast,no-stack-protector,no-exceptions,no-rtti,lto"
#pragma GCC target "fpmath=sse,tune=native"
#undef  __EXCEPTIONS
#define __FAST_MATH__ 1
#undef  __FINITE_MATH_ONLY__
#define __FINITE_MATH_ONLY__ 1
#undef  __FLT_EVAL_METHOD__
#define __FLT_EVAL_METHOD__ 0
#undef  __GCC_IEC_559
#define __GCC_IEC_559 0
#undef  __GCC_IEC_559_COMPLEX
#define __GCC_IEC_559_COMPLEX 0
#undef  __GXX_RTTI
#undef  __NO_INLINE__
#define __OPTIMIZE__ 1
#define __SSE_MATH__ 1
#define __SSE2_MATH__ 1 //and there are many more configuration related GCC 
options
```

They are just defines and strings yet gcc would compile much reduced code - is 
it fair\allowed?

Note: Last year winer did not use them at all.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Code Jam" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-code/88907fd0-911b-4731-bc7a-174247842d16%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to