optimisation: re-enable fipa-pta under GCC

It appears codegen works again? Perhaps we were running into a seperate
issue and fipa-pta always worked.
This commit is contained in:
Danny Robson 2018-01-18 11:51:38 +11:00
parent b3d2938410
commit 9cd8c56cdc

View File

@ -104,12 +104,7 @@ else()
append_compile_flag(-fpredictive-commoning) append_compile_flag(-fpredictive-commoning)
append_compile_flag(-funswitch-loops) append_compile_flag(-funswitch-loops)
# options that require substantial time/memory append_compile_flag (-fipa-pta)
# GCC: ipa-pta can produce broken code when using LTO
#AS_IF([test "x$ax_cv_cxx_compiler_vendor" != "xgnu" ||
# test "x$enable_lto" != "xyes"], [
# AX_APPEND_COMPILE_FLAGS([-fipa-pta])
#])
# safety removal for performance # safety removal for performance
append_compile_flag(-fno-stack-protector) append_compile_flag(-fno-stack-protector)