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.
This commit is contained in:
H. Peter Anvin 2008-01-08 22:31:20 -08:00
parent 62cf415f49
commit 34ec300643

6
nasm.c
View File

@ -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':