diff options
author | Ian Lance Taylor <iant@google.com> | 2007-09-06 05:59:15 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2007-09-06 05:59:15 +0000 |
commit | bb0500b075cf4897caa8b59f528480bf4a23d367 (patch) | |
tree | eaff7bbb706e715316181613e1d5cb1282d73dfa /gcc/print-rtl.c | |
parent | 86ef5ebb1e0b3fbb1587396b074be65a61623e85 (diff) | |
download | gcc-bb0500b075cf4897caa8b59f528480bf4a23d367.tar.gz |
tree-pretty-print.c (dump_decl_name): Cast LABEL_DECL_UID to int when printing.
* tree-pretty-print.c (dump_decl_name): Cast LABEL_DECL_UID to int
when printing.
(dump_generic_node): Likewise.
* print-rtl.c (print_decl_name): Likewise.
* print-tree.c (print_node_brief): Likewise.
(print_node): Likewise.
* Makefile.in (RTL_BASE_H): Add alias.h.
(TREE_H): Likewise.
From-SVN: r128175
Diffstat (limited to 'gcc/print-rtl.c')
-rw-r--r-- | gcc/print-rtl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/print-rtl.c b/gcc/print-rtl.c index a946312c091..3dc8762b355 100644 --- a/gcc/print-rtl.c +++ b/gcc/print-rtl.c @@ -75,7 +75,7 @@ print_decl_name (FILE *outfile, const_tree node) else { if (TREE_CODE (node) == LABEL_DECL && LABEL_DECL_UID (node) != -1) - fprintf (outfile, "L." HOST_WIDE_INT_PRINT_DEC, LABEL_DECL_UID (node)); + fprintf (outfile, "L.%d", (int) LABEL_DECL_UID (node)); else { char c = TREE_CODE (node) == CONST_DECL ? 'C' : 'D'; |