diff options
author | Steven Bosscher <steven@gcc.gnu.org> | 2012-11-27 00:17:25 +0000 |
---|---|---|
committer | Steven Bosscher <steven@gcc.gnu.org> | 2012-11-27 00:17:25 +0000 |
commit | 92cfe9d50a819f5e6c9dda83905ad56c34ab62f5 (patch) | |
tree | 3a1e8272c8e7a655b69995c261aef29d5bfe98db /gcc/loop-invariant.c | |
parent | 5895a897b5b05db6d53b3b5e68fad1d653abf209 (diff) | |
download | gcc-92cfe9d50a819f5e6c9dda83905ad56c34ab62f5.tar.gz |
loop-invariant.c (check_invariant_table_size): Take sizeof of the right type.
* loop-invariant.c (check_invariant_table_size): Take sizeof of
the right type.
* reorg.c (resource_conflicts_p): Use hard_reg_set_intersect_p.
(rare_destination): Remove.
(mostly_true_jump): Simplify. Base result on REG_BR_PROP notes if
available, otherwise assume branches are not taken.
(fill_eager_delay_slots): Update mostly_true_jump call.
(relax_delay_slots): Likewise.
From-SVN: r193834
Diffstat (limited to 'gcc/loop-invariant.c')
-rw-r--r-- | gcc/loop-invariant.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/loop-invariant.c b/gcc/loop-invariant.c index 0c54a9ec09a..25d69f18ee8 100644 --- a/gcc/loop-invariant.c +++ b/gcc/loop-invariant.c @@ -186,7 +186,7 @@ check_invariant_table_size (void) unsigned int new_size = DF_DEFS_TABLE_SIZE () + (DF_DEFS_TABLE_SIZE () / 4); invariant_table = XRESIZEVEC (struct invariant *, invariant_table, new_size); memset (&invariant_table[invariant_table_size], 0, - (new_size - invariant_table_size) * sizeof (struct rtx_iv *)); + (new_size - invariant_table_size) * sizeof (struct invariant *)); invariant_table_size = new_size; } } |