revert: diagnostic.c (diagnostic_action_after_output): Remove max error handling...
authorNathan Sidwell <nathan@gcc.gnu.org>
Sat, 15 Oct 2016 11:08:10 +0000 (11:08 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Sat, 15 Oct 2016 11:08:10 +0000 (11:08 +0000)
commit64190f049ac8117b403b038ca35bc771132b6e73
tree37bc21c8fd16ea5e3a0c78d472d5549b86a7ed15
parent35d942444418606e75f2e65aa7708616c5233035
revert: diagnostic.c (diagnostic_action_after_output): Remove max error handling here ....

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.

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