summaryrefslogtreecommitdiff
path: root/gcc/ggc-common.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2000-05-18 21:24:37 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2000-05-18 21:24:37 +0200
commit099049da9b2347df704c4221855ff64d08432bca (patch)
tree912cef102099ea9c978a7f47a0b74e369ef18bbb /gcc/ggc-common.c
parent265f5849d7e2707ebbd72ef4f3a878cb20e7f8e7 (diff)
downloadgcc-099049da9b2347df704c4221855ff64d08432bca.tar.gz
gcc-common.c (ggc_mark_rtx_children): Mark NOTE_EXPECTED_VALUE from NOTE_INSN_EXPECTED_VALUE notes and...
* gcc-common.c (ggc_mark_rtx_children): Mark NOTE_EXPECTED_VALUE from NOTE_INSN_EXPECTED_VALUE notes and NOTE_SOURCE_FILE from NOTE_INSN_DELETED_LABEL. From-SVN: r33996
Diffstat (limited to 'gcc/ggc-common.c')
-rw-r--r--gcc/ggc-common.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ggc-common.c b/gcc/ggc-common.c
index 2dca6aa9413..b70852e9324 100644
--- a/gcc/ggc-common.c
+++ b/gcc/ggc-common.c
@@ -247,6 +247,7 @@ ggc_mark_rtx_children (r)
case NOTE_INSN_RANGE_BEG:
case NOTE_INSN_RANGE_END:
case NOTE_INSN_LIVE:
+ case NOTE_INSN_EXPECTED_VALUE:
ggc_mark_rtx (NOTE_RANGE_INFO (r));
break;
@@ -257,7 +258,10 @@ ggc_mark_rtx_children (r)
default:
if (NOTE_LINE_NUMBER (r) >= 0)
- ggc_mark_string (NOTE_SOURCE_FILE (r));
+ {
+ case NOTE_INSN_DELETED_LABEL:
+ ggc_mark_string (NOTE_SOURCE_FILE (r));
+ }
break;
}
break;