OSDN Git Service

2007-04-24 Simon Martin <simartin@users.sourceforge.net>
authorsimartin <simartin@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 24 Apr 2007 20:52:16 +0000 (20:52 +0000)
committersimartin <simartin@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 24 Apr 2007 20:52:16 +0000 (20:52 +0000)
commitb4c018995f8b4be4e77c61e16244c0a9ad29e7cb
tree8114578ec066c8fc958ebd7608cf29fdaca0d26e
parentc7addd8cb1e57b2c404c48c43a027360a96cb185
2007-04-24  Simon Martin  <simartin@users.sourceforge.net>

PR diagnostic/25923
* tree-pass.h (TDF_DIAGNOSTIC): New dump control to specify that a
diagnostic message is being built.
* tree-pretty-print.c (dump_generic_node): Only write the formatted text
into BUFFER's stream if we are not building a diagnostic message.
* toplev.c (default_tree_printer): Pass TDF_DIAGNOSTIC to
dump_generic_node.
* Makefile.in (toplev.o): Depend on tree-pass.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@124121 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/Makefile.in
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr25923.f90 [new file with mode: 0644]
gcc/toplev.c
gcc/tree-pass.h
gcc/tree-pretty-print.c