summaryrefslogtreecommitdiff
path: root/gcc/vec.c
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2009-06-16 19:01:18 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2009-06-16 19:01:18 +0000
commit8dc2823a2f3ba69e89bcb0189f9e2f95021f0cb6 (patch)
treec530c650f41ae412f9610d400aa1c3659acbf4ec /gcc/vec.c
parent10a15ee44f32a1c152ebb42bcd51f7a9df09fe1a (diff)
downloadgcc-8dc2823a2f3ba69e89bcb0189f9e2f95021f0cb6.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148548 138bc75d-0d04-0410-961f-82ee72b054a4
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 6563fd372b7..3e60580992d 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)
{