From 34ec30064302bdbd1202b23053af5811f8a6f9da Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Tue, 8 Jan 2008 22:31:20 -0800 Subject: [PATCH] Remove magic "five pass minimum" - I'm pretty sure optimizer is fixed. The five-pass-minimum was a hack for a bug which I think is identified now. Doesn't really change the fact that if you want the optimizer, you probably want -Ox. --- nasm.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/nasm.c b/nasm.c index 63aaeb14..649d02b1 100644 --- a/nasm.c +++ b/nasm.c @@ -437,12 +437,8 @@ static bool process_arg(char *p, char *q) /* -O1 -> optimizing == 0, 0.98.09 behaviour */ if (opt < 2) optimizing = opt - 1; - else if (opt <= 5) - /* The optimizer seems to have problems with - < 5 passes? Hidden bug? */ - optimizing = 5; /* 5 passes */ else - optimizing = opt; /* More than 5 passes */ + optimizing = opt; break; case 'v':