From: ggn Date: Thu, 15 Jul 2021 16:08:10 +0000 (+0300) Subject: Addresses issue #185 - all optimisations off by default X-Git-Tag: v2.1.12~2 X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d000ce6bab53cf40e7fdde28f668b2a52d988520;hp=9cb3b2008da22e8939bb8ea0e64cd77e76b8f8b4;p=rmac Addresses issue #185 - all optimisations off by default --- diff --git a/rmac.c b/rmac.c index 0e07052..b808f75 100644 --- 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