public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/44782] implement -ferror-limit=
[not found] <bug-44782-4@http.gcc.gnu.org/bugzilla/>
@ 2010-11-12 3:38 ` froydnj at gcc dot gnu.org
2010-11-12 3:40 ` froydnj at gcc dot gnu.org
2010-11-15 16:37 ` manu at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: froydnj at gcc dot gnu.org @ 2010-11-12 3:38 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44782
--- Comment #2 from Nathan Froyd <froydnj at gcc dot gnu.org> 2010-11-12 03:38:19 UTC ---
Author: froydnj
Date: Fri Nov 12 03:38:15 2010
New Revision: 166644
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166644
Log:
gcc/
PR c/44782
* common.opt (fmax-errors=): New option.
* opts.c (common_handle_option) [OPT_fmax_errors_]: Handle it.
* diagnostic.h (struct diagnostic_context): Add max_errors field.
* diagnostic.c (diagnostic_initialize): Initialize it.
(diagnostic_action_after_output): Exit if more than max_errors
have been output.
* doc/invoke.texi (Warning Options): Add -fmax-errors.
(-fmax-errors): Document.
gcc/fortran/
PR c/44782
* options.c (gfc_post_options): Initialize gfc_option.max_errors.
(gfc_handle_option) [OPT_fmax_errors_]: Remove.
* lang.opt (fmax-errors=): Remove.
gcc/testsuite/
PR c/44782
* c-c++-common/fmax-errors.c: New test.
Added:
trunk/gcc/testsuite/c-c++-common/fmax-errors.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/common.opt
trunk/gcc/diagnostic.c
trunk/gcc/diagnostic.h
trunk/gcc/doc/invoke.texi
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/lang.opt
trunk/gcc/fortran/options.c
trunk/gcc/opts.c
trunk/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c/44782] implement -ferror-limit=
[not found] <bug-44782-4@http.gcc.gnu.org/bugzilla/>
2010-11-12 3:38 ` [Bug c/44782] implement -ferror-limit= froydnj at gcc dot gnu.org
@ 2010-11-12 3:40 ` froydnj at gcc dot gnu.org
2010-11-15 16:37 ` manu at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: froydnj at gcc dot gnu.org @ 2010-11-12 3:40 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44782
Nathan Froyd <froydnj at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |froydnj at gcc dot gnu.org
Resolution| |FIXED
--- Comment #3 from Nathan Froyd <froydnj at gcc dot gnu.org> 2010-11-12 03:40:11 UTC ---
Fixed.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c/44782] implement -ferror-limit=
[not found] <bug-44782-4@http.gcc.gnu.org/bugzilla/>
2010-11-12 3:38 ` [Bug c/44782] implement -ferror-limit= froydnj at gcc dot gnu.org
2010-11-12 3:40 ` froydnj at gcc dot gnu.org
@ 2010-11-15 16:37 ` manu at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: manu at gcc dot gnu.org @ 2010-11-15 16:37 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44782
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bkoz at gcc dot gnu.org
--- Comment #4 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2010-11-15 16:29:54 UTC ---
*** Bug 20201 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c/44782] implement -ferror-limit=
2010-07-02 11:03 [Bug c/44782] New: " manu at gcc dot gnu dot org
@ 2010-07-05 1:28 ` pinskia at gcc dot gnu dot org
0 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2010-07-05 1:28 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2010-07-05 01:28 -------
Note Fortran has this feature already:
-fmax-errors=<n> Maximum number of errors to report
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44782
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-11-15 16:35 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-44782-4@http.gcc.gnu.org/bugzilla/>
2010-11-12 3:38 ` [Bug c/44782] implement -ferror-limit= froydnj at gcc dot gnu.org
2010-11-12 3:40 ` froydnj at gcc dot gnu.org
2010-11-15 16:37 ` manu at gcc dot gnu.org
2010-07-02 11:03 [Bug c/44782] New: " manu at gcc dot gnu dot org
2010-07-05 1:28 ` [Bug c/44782] " pinskia at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).