aboutsummaryrefslogtreecommitdiff
path: root/gcc/ggc-common.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/ggc-common.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/ggc-common.c')
-rw-r--r--gcc/ggc-common.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/ggc-common.c b/gcc/ggc-common.c
index 823d1b9..30725a2 100644
--- a/gcc/ggc-common.c
+++ b/gcc/ggc-common.c
@@ -208,6 +208,11 @@ ggc_mark_rtx (r)
ggc_mark_rtx (NOTE_RANGE_INFO (r));
break;
+ case NOTE_INSN_BLOCK_BEG:
+ case NOTE_INSN_BLOCK_END:
+ ggc_mark_tree (NOTE_BLOCK (r));
+ break;
+
default:
if (NOTE_LINE_NUMBER (r) >= 0)
ggc_mark_string (NOTE_SOURCE_FILE (r));