Commit 415a06c2 by Ian Lance Taylor Committed by Ian Lance Taylor

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
parent 675f99c9
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
include_delayed_effects parameter to bool. Change all callers.
(mark_end_of_function_resources): Likewise.
......
......@@ -2509,8 +2509,8 @@ df_byte_lr_alloc (bitmap all_blocks ATTRIBUTE_UNUSED)
unsigned int regno;
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);
struct df_byte_lr_problem_data *problem_data
= XNEW (struct df_byte_lr_problem_data);
df_byte_lr->problem_data = problem_data;
......
......@@ -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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment