mirror of
https://github.com/MariaDB/server.git
synced 2026-05-11 17:40:11 +02:00
Innodb, Windows : Reenable compiler optimizations for mem0mem.cc
Compiler optimizations were switched off due to MySQL Bug #19424, #36366, #34297, due to an alleged compiler bug. No proper analysis of code generation was done back then, thus proof of a compiler bug is missing. Even if there was a compiler bug 13 years ago, it could have been fixed. Will wait and see if there are any complains or crashes
This commit is contained in:
parent
6c5d364956
commit
627d33d9cf
1 changed files with 0 additions and 7 deletions
|
|
@ -233,13 +233,6 @@ IF(CMAKE_CXX_COMPILER_ID MATCHES "SunPro"
|
|||
PROPERTIES COMPILE_FLAGS -xO3)
|
||||
ENDIF()
|
||||
|
||||
# Removing compiler optimizations for innodb/mem/* files on 64-bit Windows
|
||||
# due to 64-bit compiler error, See MySQL Bug #19424, #36366, #34297
|
||||
IF (MSVC AND CMAKE_SIZEOF_VOID_P EQUAL 8)
|
||||
SET_SOURCE_FILES_PROPERTIES(mem/mem0mem.cc mem/mem0pool.cc
|
||||
PROPERTIES COMPILE_FLAGS -Od)
|
||||
ENDIF()
|
||||
|
||||
# Avoid generating Hardware Capabilities due to crc32 instructions
|
||||
IF(CMAKE_SYSTEM_NAME MATCHES "SunOS" AND CMAKE_SYSTEM_PROCESSOR MATCHES "i386")
|
||||
INCLUDE(${MYSQL_CMAKE_SCRIPT_DIR}/compile_flags.cmake)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue