2010-02-26 Manuel López-Ibáñez <manu@gcc.gnu.org>
commit16b4d5bbcc6fedad04a5dd8370b774fb94d1fa0e
authormanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 26 Feb 2010 22:06:56 +0000 (26 22:06 +0000)
committermanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 26 Feb 2010 22:06:56 +0000 (26 22:06 +0000)
treedc7e9199bbd5f92c7eed38be3754a171070f0408
parent32f1f35b2efa25d537e6ef7d3bfde8c329e4710c
2010-02-26  Manuel López-Ibáñez  <manu@gcc.gnu.org>

* diagnostic.c (diagnostic_initialize): Update.
(diagnostic_report_diagnostic): Test inhibit_notes_p for
informative notes.
* diagnostic.h (diagnostic_context): New bool inhibit_notes_p.
(diagnostic_inhibit_notes): New.
* toplev.c (process_options): inhibit notes with -fcompare-debug.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157100 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/diagnostic.c
gcc/diagnostic.h
gcc/toplev.c