summaryrefslogtreecommitdiff
path: root/gcc/df.c
diff options
context:
space:
mode:
authordberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4>2001-08-26 15:02:08 +0000
committerdberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4>2001-08-26 15:02:08 +0000
commit510fe9bf1f07425d908a27dc28f0bc4be58730c8 (patch)
tree4817dd7fa0175c47ecf34a05f35baa602b5bb8ec /gcc/df.c
parent2ab8f986fa5d0b5da175b8767f4017d5b9135618 (diff)
downloadgcc-510fe9bf1f07425d908a27dc28f0bc4be58730c8.tar.gz
2001-08-26 Daniel Berlin <dan@cgsoftware.com>
* df.c (df_insn_modify): Realloc the INSN table here, if necessary, here, too. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45183 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/df.c')
-rw-r--r--gcc/df.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/df.c b/gcc/df.c
index ebf2e1fdfea..b1cff25a901 100644
--- a/gcc/df.c
+++ b/gcc/df.c
@@ -2601,6 +2601,9 @@ df_insn_modify (df, bb, insn)
uid = INSN_UID (insn);
+ if (uid >= df->insn_size)
+ df_insn_table_realloc (df, 0);
+
bitmap_set_bit (df->bbs_modified, bb->index);
bitmap_set_bit (df->insns_modified, uid);