This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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]

PR26061 error and warning counts


:ADDPATCH toplev:

With this patch,  gcc will print the number of errors and warnings at
the end of the output. If there are no warnings or errors, nothing is
printed.

An example output would be:

gcc: *** 3 error(s), 0 warning(s).


Bootstrapped and regression tested with --enable-languages=all on i686-pc-linux-gnu.

OK for mainline?


2007-02-13 Manuel Lopez-Ibanez <manu@gcc.gnu.org>


 PR middle-end/26061
 * toplev.c (do_compile): Print error and warning counts.

testsuite/
 * lib/gnat.exp (prune_gnat_output): Prune error and warning counts.
 * lib/prune.exp (prune_gcc_output): Likewise.

libstdc++-v3/testsuite/ (Where this Changelog goes???)

* lib/prune.exp (prune_g++_output): Prune error and warning counts.

libmudflap/testsuite/

* lib/libmudflap.exp (prune_gcc_output): Prune error and warning counts.

Attachment: errorwarningcounting-try2.diff
Description: Text document


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