This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]