From 68457f0dc57a3d6afcd5eefe1534d1de34a4f323 Mon Sep 17 00:00:00 2001 From: Jonas Maebe Date: Sat, 9 May 2020 11:07:58 +0000 Subject: [PATCH] - disabled cs_opt_use_load_modify_store by default, because it does not handle LOC_(C)SUBSETREF/REG. The optimisation itself has been fixed in trunk (r45301-r45305), the changes are too invasive to merge to fixes_3_2 at this time (mantis #37018) git-svn-id: branches/fixes_3_2@45317 - --- compiler/globtype.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/globtype.pas b/compiler/globtype.pas index edb37a2e75..030afb4ade 100644 --- a/compiler/globtype.pas +++ b/compiler/globtype.pas @@ -392,7 +392,7 @@ interface { switches being applied to all CPUs at the given level } genericlevel1optimizerswitches = [cs_opt_level1,cs_opt_peephole]; genericlevel2optimizerswitches = [cs_opt_level2,cs_opt_remove_emtpy_proc]; - genericlevel3optimizerswitches = [cs_opt_level3,cs_opt_constant_propagate,cs_opt_nodedfa,cs_opt_use_load_modify_store,cs_opt_loopunroll]; + genericlevel3optimizerswitches = [cs_opt_level3,cs_opt_constant_propagate,cs_opt_nodedfa,cs_opt_loopunroll]; genericlevel4optimizerswitches = [cs_opt_level4,cs_opt_reorder_fields,cs_opt_dead_values,cs_opt_fastmath]; { whole program optimizations whose information generation requires