aboutsummaryrefslogtreecommitdiff
path: root/gcc/vec.c
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2009-06-16 19:01:18 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2009-06-16 19:01:18 +0000
commit415a06c203004a790433cf7ed41ce24af5acc8da (patch)
treec530c650f41ae412f9610d400aa1c3659acbf4ec /gcc/vec.c
parent675f99c97fb1fa0405b19eba9785075117d50849 (diff)
downloadgcc-415a06c203004a790433cf7ed41ce24af5acc8da.zip
gcc-415a06c203004a790433cf7ed41ce24af5acc8da.tar.gz
gcc-415a06c203004a790433cf7ed41ce24af5acc8da.tar.bz2
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
Diffstat (limited to 'gcc/vec.c')
-rw-r--r--gcc/vec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/vec.c b/gcc/vec.c
index 6563fd3..3e60580 100644
--- a/gcc/vec.c
+++ b/gcc/vec.c
@@ -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)
{