diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-01-08 22:31:20 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-01-08 22:31:20 -0800 |
commit | 34ec30064302bdbd1202b23053af5811f8a6f9da (patch) | |
tree | 9dae33e02d2786c7287bb8ae11d74101b352ad5e /nasm.c | |
parent | 62cf415f4976f681edecb067e9ca1c17f145a349 (diff) | |
download | nasm-34ec30064302bdbd1202b23053af5811f8a6f9da.tar.gz |
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.
Diffstat (limited to 'nasm.c')
-rw-r--r-- | nasm.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -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': |