mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-01-18 16:25:05 +08:00
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:
parent
62cf415f49
commit
34ec300643
6
nasm.c
6
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':
|
||||
|
Loading…
Reference in New Issue
Block a user