Disallow optimizing by less than 5 passes. If the user requests 2-4
passes, run 5 passes anyway.
optimizing = -1; /* 0.98 behaviour */
else if (opt == 1)
optimizing = 0; /* Two passes, 0.98.09 behavior */
- else
- optimizing = opt; /* Multiple passes */
+ 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 */
} else {
if (*param == 'v' || *param == '+') {
++param;