I don't trust fpc with -O3 0.9.20
authornemo
Mon, 30 Dec 2013 13:33:58 -0500
branch0.9.20
changeset 9869 2d206defd974
parent 9867 bfc2fdc1ccd1
child 9880 9530e391fa77
child 9881 749369ad65a9
I don't trust fpc with -O3
cmake_modules/CMakePascalInformation.cmake
--- a/cmake_modules/CMakePascalInformation.cmake	Sun Dec 29 15:08:52 2013 +0400
+++ b/cmake_modules/CMakePascalInformation.cmake	Mon Dec 30 13:33:58 2013 -0500
@@ -11,7 +11,7 @@
 # This section should actually be in Platform/${CMAKE_SYSTME_NAME}-fpc.cmake
 set(CMAKE_Pascal_FLAGS_DEBUG_INIT "-g -gl -gp -gh")
 set(CMAKE_Pascal_FLAGS_MINSIZEREL_INIT "-Os -dNDEBUG")
-set(CMAKE_Pascal_FLAGS_RELEASE_INIT "-O3 -dNDEBUG")
+set(CMAKE_Pascal_FLAGS_RELEASE_INIT "-O2 -dNDEBUG")
 set(CMAKE_Pascal_FLAGS_RELWITHDEBINFO_INIT "-O2 -g -gl -gp")
 
 # This should be included before the _INIT variables are