From 458e9e5663add1dbc7abd6768fd40640f120989f Mon Sep 17 00:00:00 2001 From: ggn Date: Thu, 15 Jul 2021 19:08:10 +0300 Subject: [PATCH] Addresses issue #185 - all optimisations off by default --- rmac.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/rmac.c b/rmac.c index 4f78759..db69258 100644 --- a/rmac.c +++ b/rmac.c @@ -777,11 +777,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 -- 2.25.0.windows.1