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]

[4.4] remove diagnostic_count_diagnostic


The function diagnostic_count_diagnostic is unnecessary: it always
return true, the switch is not needed. This patch removes it.

Bootstrapped and regression tested on x86_64-unknown-linux-gnu

2008-02-24  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

 * diagnostic.c (diagnostic_count_diagnostic): Delete.
 (diagnostic_report_diagnostic): Update. Handle ICEs here.

Attachment: remove-count-diagnostic.diff
Description: Text document


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