optimisation: disable -fipa-pta

GCC encounters an ICE with this option in some projects (eg, edict)
This commit is contained in:
Danny Robson 2018-12-10 15:08:14 +11:00
parent d333042d85
commit fc58c76599

View File

@ -124,7 +124,8 @@ else()
append_compile_flag(-fpredictive-commoning) append_compile_flag(-fpredictive-commoning)
append_compile_flag(-funswitch-loops) append_compile_flag(-funswitch-loops)
append_compile_flag (-fipa-pta) # GCC 8.2 encounters an ICE in LTO linking with ipa-pta enabled
# append_compile_flag (-fipa-pta)
# safety removal for performance # safety removal for performance
append_compile_flag(-fno-stack-protector) append_compile_flag(-fno-stack-protector)