summaryrefslogtreecommitdiff
path: root/gcc/print-rtl.c
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2009-11-30 10:36:54 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2009-11-30 10:36:54 +0000
commit0075369687db7804b3546221f0a4f3868b8f97d4 (patch)
treecd696f36bde52123ee764215456860ca41bdccff /gcc/print-rtl.c
parentf4e3ef7d8fa106f3408ec3fbc1f73ffa781fc2f6 (diff)
downloadgcc-0075369687db7804b3546221f0a4f3868b8f97d4.tar.gz
2009-11-30 Richard Guenther <rguenther@suse.de>
* tree-dump.c (dump_option_value_in): Add TDF_NOUID. * tree-pass.h (TDF_NOUID): Likewise. * print-rtl.c: Include tree-pass.h. (print_mem_expr): Pass dump_flags. (print_rtx): Likewise. * print-tree.c: Include tree-pass.h. (print_node_brief): Handle TDF_NOUID. (print_node): Likewise. * tree-pretty-print.c (dump_decl_name): Likewise. (dump_generic_node): Likewise. * Makefile.in (print-rtl.o, print-tree.o): Add $(TREE_PASS_H) dependency. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154775 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/print-rtl.c')
-rw-r--r--gcc/print-rtl.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/print-rtl.c b/gcc/print-rtl.c
index ff73c4afb05..75f034376cb 100644
--- a/gcc/print-rtl.c
+++ b/gcc/print-rtl.c
@@ -42,6 +42,7 @@ along with GCC; see the file COPYING3. If not see
#include "basic-block.h"
#include "diagnostic.h"
#include "cselib.h"
+#include "tree-pass.h"
#endif
static FILE *outfile;
@@ -78,7 +79,7 @@ void
print_mem_expr (FILE *outfile, const_tree expr)
{
fputc (' ', outfile);
- print_generic_expr (outfile, CONST_CAST_TREE (expr), 0);
+ print_generic_expr (outfile, CONST_CAST_TREE (expr), dump_flags);
}
#endif
@@ -241,7 +242,7 @@ print_rtx (const_rtx in_rtx)
{
tree decl = SYMBOL_REF_DECL (in_rtx);
if (decl)
- print_node_brief (outfile, "", decl, 0);
+ print_node_brief (outfile, "", decl, dump_flags);
}
#endif
else if (i == 4 && NOTE_P (in_rtx))