Browse Source

- 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 -

Jonas Maebe 5 years ago
parent
commit
68457f0dc5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/globtype.pas

+ 1 - 1
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