diagnostic.c (diagnostic_action_after_output): Remove max error handling here ....
authorNathan Sidwell <nathan@acm.org>
Fri, 14 Oct 2016 20:32:03 +0000 (20:32 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Fri, 14 Oct 2016 20:32:03 +0000 (20:32 +0000)
commitefc5aa6bc7c686b302c5d7fd7f65e3f6361961e1
treefb0e8691c78ca666efcf1cc3698c8851e0960779
parent983496febcc17e53d5596cff4d2cb1f1c16ebe19
diagnostic.c (diagnostic_action_after_output): Remove max error handling here ....

* diagnostic.c (diagnostic_action_after_output): Remove max error
handling here ....
(diagnostic_report_diagnostic): ... do it here instead.

testsuite/
* c-c++-common/fmax-errors.c: Make sure note is emitted.

From-SVN: r241186
gcc/ChangeLog
gcc/diagnostic.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/fmax-errors.c