summaryrefslogtreecommitdiff
path: root/gcc/df-scan.c
diff options
context:
space:
mode:
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2012-08-21 21:07:01 +0000
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2012-08-21 21:07:01 +0000
commit25d2985a81d72087553b10277126300dc2d97b97 (patch)
treeaa9445eb256c5fbc7539a97e0e56b29c55e1d1f3 /gcc/df-scan.c
parentced7aabf90c37164583c43d65e1165b661d753f1 (diff)
downloadgcc-25d2985a81d72087553b10277126300dc2d97b97.tar.gz
Restore df_free_collection_rec call in df_bb_verify
PR middle-end/54332 * df-scan.c (df_bb_verify): Restore df_free_collection_rec call inside the insn traversal loop. * vec.h (vec_reserve): Remove the stack allocation check. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190576 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/df-scan.c')
-rw-r--r--gcc/df-scan.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/df-scan.c b/gcc/df-scan.c
index 55492fa8141..df903659114 100644
--- a/gcc/df-scan.c
+++ b/gcc/df-scan.c
@@ -4448,6 +4448,7 @@ df_bb_verify (basic_block bb)
if (!INSN_P (insn))
continue;
df_insn_refs_verify (&collection_rec, bb, insn, true);
+ df_free_collection_rec (&collection_rec);
}
/* Do the artificial defs and uses. */