aboutsummaryrefslogtreecommitdiff
path: root/gcc/print-rtl.c
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>1999-09-15 23:05:05 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>1999-09-15 23:05:05 +0000
commit1a4450c78ff2b55ef5af7749ac56ef13b5c8dd0c (patch)
tree3d508285418ae3e6e9fa770aac8efa585f50fce9 /gcc/print-rtl.c
parent371534a917ce5751c5d05e2b7428a86374a73376 (diff)
downloadgcc-1a4450c78ff2b55ef5af7749ac56ef13b5c8dd0c.zip
gcc-1a4450c78ff2b55ef5af7749ac56ef13b5c8dd0c.tar.gz
gcc-1a4450c78ff2b55ef5af7749ac56ef13b5c8dd0c.tar.bz2
rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
* rtl.h (NOTE_BLOCK_NUMBER): Replace with ... (NOTE_BLOCK): New macro. (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove. * function.h (identify_blocks): CHange prototype. * function.c (identify_blocks): Simplify. (reorder_blocks): Likewise. * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a NOTE_INSN_BLOCK_{BEG,END}. * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on the list of saved notes if the note isn't a NOTE_INSN_BLOCK_{BEG,END}. (move_insn1): Use NOTE_EH_HANDLER in comment, rather than NOTE_BLOCK_NUMBER. (reemit_notes): Adjust recreation of notes to reflect new saved note structure. * print-rtl.c (print_rtx): Print the address of the BLOCK when printing a block note. * stmt.c (block_vector): Remove. (find_loop_tree_blocks): Simplify. (unroll_block_trees): Likewise. From-SVN: r29441
Diffstat (limited to 'gcc/print-rtl.c')
-rw-r--r--gcc/print-rtl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/print-rtl.c b/gcc/print-rtl.c
index 75a52ee..d32ed18 100644
--- a/gcc/print-rtl.c
+++ b/gcc/print-rtl.c
@@ -166,7 +166,9 @@ print_rtx (in_rtx)
else if (NOTE_LINE_NUMBER (in_rtx) == NOTE_INSN_BLOCK_BEG
|| NOTE_LINE_NUMBER (in_rtx) == NOTE_INSN_BLOCK_END)
{
- fprintf (outfile, " %d", NOTE_BLOCK_NUMBER (in_rtx));
+ fprintf (outfile, " ");
+ fprintf (outfile, HOST_PTR_PRINTF,
+ (char *) NOTE_BLOCK (in_rtx));
sawclose = 1;
}
else if (NOTE_LINE_NUMBER (in_rtx) == NOTE_INSN_RANGE_START