[patch, fortran] Add -fmax-errors option to limit the number of errors emitted.

Brooks Moses brooks.moses@codesourcery.com
Wed Nov 8 22:48:00 GMT 2006


Bernhard Fischer wrote:
> On Tue, Nov 07, 2006 at 01:29:29PM -0800, Brooks Moses wrote:
>>+fmax-errors=
>>+Fortran RejectNegative Joined UInteger
>>+-fmax-errors=<n>	Maximum number of errors to report
>>+
[...]
>>+    case OPT_fmax_errors_:
> 
> ->+      if (value < 0)
> 
> Due to RejectNegative this can never happen.

Right, yes.  I'll remove that redundant check from the final version of 
the patch.

Thanks!
- Brooks



More information about the Fortran mailing list