r118615 - in /trunk/gcc/fortran: ChangeLog erro...

brooks@gcc.gnu.org brooks@gcc.gnu.org
Thu Nov 9 06:53:00 GMT 2006


Author: brooks
Date: Thu Nov  9 06:53:05 2006
New Revision: 118615

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=118615
Log:
* lang.opt: Add -fmax-errors= option.
* gfortran.h (gfc_option_t): Add max_errors element.
* options.c (gfc_init_options): Set max_errors default value
to 25.
(gfc_handle_options): Assign -fmax_errors value to
gfc_option.max_errors.
* error.c (gfc_increment_error_count): New function, which
also checks whether the error count exceeds max_errors.
(gfc_warning): Use it.
(gfc_warning_now): Use it.
(gfc_notify_std): Use it.
(gfc_error): Use it.
(gfc_error_now): Use it.
(gfc_error_check): Use it.


Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/error.c
    trunk/gcc/fortran/gfortran.h
    trunk/gcc/fortran/lang.opt
    trunk/gcc/fortran/options.c



More information about the Gcc-cvs mailing list