From: Daniel Berlin Date: Sun, 26 Aug 2001 15:02:08 +0000 (+0000) Subject: df.c (df_insn_modify): Realloc the INSN table here, if necessary, here, too. X-Git-Tag: prereleases/libstdc++-3.0.95~2427 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=772b1404090767a38eec638250bd9ae30ac271cb;p=thirdparty%2Fgcc.git df.c (df_insn_modify): Realloc the INSN table here, if necessary, here, too. 2001-08-26 Daniel Berlin * df.c (df_insn_modify): Realloc the INSN table here, if necessary, here, too. From-SVN: r45183 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 278ca881f1b4..874e747bc2de 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2001-08-26 Daniel Berlin + + * df.c (df_insn_modify): Realloc the INSN table here, if + necessary, here, too. + 2001-08-26 Aldy Hernandez * config/mips/mips.c (mips_function_value): Handle complex return diff --git a/gcc/df.c b/gcc/df.c index ebf2e1fdfea3..b1cff25a901f 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);