mirror of
https://github.com/dhewm/dhewm3.git
synced 2024-11-30 08:01:02 +00:00
2521c3dfdb
according to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100839 the real compiler flag enabling this bullshit isn't -fexpensive-optimizations but -ffp-contract=fast which for some(*) reason is default in optimized builds. I think it's best to disabled that optimization globally in case it also breaks other code (I really don't want to spend several days to hunt such an idiot bug again). I really doubt it makes any measurable performance difference. As https://twitter.com/stephentyrone/status/1399424911328874499 says that clang might also enable this in the future (though to =on instead of =fast which should be a bit saner but would still break our code), just set this option for all GCC-ish compilers incl. clang. (*) the reason of course is that GCC developers don't develop GCC for their users but to win idiotic SPEC benchmarks |
||
---|---|---|
.. | ||
bv | ||
containers | ||
geometry | ||
hashing | ||
math | ||
Base64.cpp | ||
Base64.h | ||
BitMsg.cpp | ||
BitMsg.h | ||
CmdArgs.cpp | ||
CmdArgs.h | ||
Dict.cpp | ||
Dict.h | ||
Heap.cpp | ||
Heap.h | ||
LangDict.cpp | ||
LangDict.h | ||
Lexer.cpp | ||
Lexer.h | ||
Lib.cpp | ||
Lib.h | ||
MapFile.cpp | ||
MapFile.h | ||
Parser.cpp | ||
Parser.h | ||
Str.cpp | ||
Str.h | ||
Timer.cpp | ||
Timer.h | ||
Token.cpp | ||
Token.h |