aboutsummaryrefslogtreecommitdiff
path: root/gcc/builtins.c
diff options
context:
space:
mode:
authorBrooks Moses <brooks.moses@codesourcery.com>2006-11-09 06:53:05 +0000
committerBrooks Moses <brooks@gcc.gnu.org>2006-11-08 22:53:05 -0800
commit3f139fcf2aa9cec8de6a5d03c867148dc8b049c9 (patch)
treeaf8c557eb4fa405e1872a03c58213c649a3c9621 /gcc/builtins.c
parent350ff03fa9c59261d4cc901454e367a6c77cb1c1 (diff)
downloadgcc-3f139fcf2aa9cec8de6a5d03c867148dc8b049c9.zip
gcc-3f139fcf2aa9cec8de6a5d03c867148dc8b049c9.tar.gz
gcc-3f139fcf2aa9cec8de6a5d03c867148dc8b049c9.tar.bz2
lang.opt: Add -fmax-errors= option.
* 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. From-SVN: r118615
Diffstat (limited to 'gcc/builtins.c')
0 files changed, 0 insertions, 0 deletions