diff options
Diffstat (limited to 'gcc/varasm.c')
-rw-r--r-- | gcc/varasm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c index a1f0a23..b380a47 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -2871,8 +2871,8 @@ compare_constant (const tree t1, const tree t2) for (idx = 0; idx < VEC_length (constructor_elt, v1); ++idx) { - constructor_elt *c1 = VEC_index (constructor_elt, v1, idx); - constructor_elt *c2 = VEC_index (constructor_elt, v2, idx); + constructor_elt *c1 = &VEC_index (constructor_elt, v1, idx); + constructor_elt *c2 = &VEC_index (constructor_elt, v2, idx); /* Check that each value is the same... */ if (!compare_constant (c1->value, c2->value)) |