df-problems.c (df_byte_lr_alloc): Don't set problem_data to itself.

* df-problems.c (df_byte_lr_alloc): Don't set problem_data to
	itself.
	* vec.c (vec_gc_o_reserve_1): Don't set alloc to itself.

From-SVN: r148548
This commit is contained in:
Ian Lance Taylor 2009-06-16 19:01:18 +00:00 committed by Ian Lance Taylor
parent 675f99c97f
commit 415a06c203
3 changed files with 9 additions and 3 deletions

View file

@ -1,3 +1,9 @@
2009-06-16 Ian Lance Taylor <iant@google.com>
* df-problems.c (df_byte_lr_alloc): Don't set problem_data to
itself.
* vec.c (vec_gc_o_reserve_1): Don't set alloc to itself.
2009-06-16 Ian Lance Taylor <iant@google.com>
* resource.c (mark_referenced_resources): Change

View file

@ -2510,7 +2510,7 @@ df_byte_lr_alloc (bitmap all_blocks ATTRIBUTE_UNUSED)
unsigned int index = 0;
unsigned int max_reg = max_reg_num();
struct df_byte_lr_problem_data *problem_data
= problem_data = XNEW (struct df_byte_lr_problem_data);
= XNEW (struct df_byte_lr_problem_data);
df_byte_lr->problem_data = problem_data;

View file

@ -227,7 +227,7 @@ vec_gc_o_reserve_1 (void *vec, int reserve, size_t vec_offset, size_t elt_size,
bool exact MEM_STAT_DECL)
{
struct vec_prefix *pfx = (struct vec_prefix *) vec;
unsigned alloc = alloc = calculate_allocation (pfx, reserve, exact);
unsigned alloc = calculate_allocation (pfx, reserve, exact);
if (!alloc)
{