diff options
author | Simon Martin <simartin@users.sourceforge.net> | 2007-04-24 20:52:16 +0000 |
---|---|---|
committer | Simon Martin <simartin@gcc.gnu.org> | 2007-04-24 20:52:16 +0000 |
commit | 438d798f1231f01c92211c76df1cc3b4cf6904a4 (patch) | |
tree | 8114578ec066c8fc958ebd7608cf29fdaca0d26e /gcc/tree-pass.h | |
parent | 4df28528f69a4400fed72d69792fc043d1ebd826 (diff) | |
download | gcc-438d798f1231f01c92211c76df1cc3b4cf6904a4.zip gcc-438d798f1231f01c92211c76df1cc3b4cf6904a4.tar.gz gcc-438d798f1231f01c92211c76df1cc3b4cf6904a4.tar.bz2 |
re PR middle-end/25923 ([gfortran] garbled diagnostics with -O -Wuninitialized)
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.
From-SVN: r124121
Diffstat (limited to 'gcc/tree-pass.h')
-rw-r--r-- | gcc/tree-pass.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/tree-pass.h b/gcc/tree-pass.h index 1b92f8c..c22e15e 100644 --- a/gcc/tree-pass.h +++ b/gcc/tree-pass.h @@ -71,6 +71,9 @@ enum tree_dump_index #define TDF_MEMSYMS (1 << 14) /* display memory symbols in expr. Implies TDF_VOPS. */ +#define TDF_DIAGNOSTIC (1 << 15) /* A dump to be put in a diagnostic + message. */ + extern char *get_dump_file_name (enum tree_dump_index); extern int dump_enabled_p (enum tree_dump_index); extern int dump_initialized_p (enum tree_dump_index); |