Revert
commitc58d34ea2083844f465ff3f3e595c9c896253feb
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 15 Oct 2016 11:08:10 +0000 (15 11:08 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 15 Oct 2016 11:08:10 +0000 (15 11:08 +0000)
tree37bc21c8fd16ea5e3a0c78d472d5549b86a7ed15
parentecc0b0cee14466e780b78b19758a3b2f0be4e798
Revert
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@241198 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/diagnostic.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/fmax-errors.c