]> Shamusworld >> Repos - rmac/commitdiff
Addresses issue #185 - all optimisations off by default
authorggn <ggn.dbug@gmail.com>
Thu, 15 Jul 2021 16:08:10 +0000 (19:08 +0300)
committerShamus Hammons <jlhamm@acm.org>
Fri, 20 Aug 2021 15:57:27 +0000 (10:57 -0500)
rmac.c

diff --git a/rmac.c b/rmac.c
index 0e070526bbb4c3f18bd583a92a696935bd0db34b..b808f7560865d03d69194310fc7f6a6a5f762317 100644 (file)
--- a/rmac.c
+++ b/rmac.c
@@ -775,11 +775,8 @@ int main(int argc, char ** argv)
        perm_verb_flag = 0;                             // Clobber "permanent" verbose flag
        legacy_flag = 1;                                // Default is legacy mode on (:-P)
 
-       // Set legacy optimisation flags to on and everything else to off
+       // Set all optimisation flags to off
        memset(optim_flags, 0, OPT_COUNT * sizeof(int));
-       optim_flags[OPT_ABS_SHORT] =
-               optim_flags[OPT_MOVEL_MOVEQ] =
-               optim_flags[OPT_BSR_BCC_S] = 1;
 
        cmdlnexec = argv[0];                    // Obtain executable name
        endian = GetEndianess();                // Get processor endianess