aboutsummaryrefslogtreecommitdiff
path: root/gdb/valarith.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/valarith.c')
-rw-r--r--gdb/valarith.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/valarith.c b/gdb/valarith.c
index f88701f..54f332a 100644
--- a/gdb/valarith.c
+++ b/gdb/valarith.c
@@ -185,7 +185,6 @@ value_subscript (struct value *array, struct value *idx)
COERCE_REF (array);
tarray = check_typedef (VALUE_TYPE (array));
- COERCE_VARYING_ARRAY (array, tarray);
if (TYPE_CODE (tarray) == TYPE_CODE_ARRAY
|| TYPE_CODE (tarray) == TYPE_CODE_STRING)
@@ -624,9 +623,6 @@ value_concat (struct value *arg1, struct value *arg2)
struct type *type1 = check_typedef (VALUE_TYPE (arg1));
struct type *type2 = check_typedef (VALUE_TYPE (arg2));
- COERCE_VARYING_ARRAY (arg1, type1);
- COERCE_VARYING_ARRAY (arg2, type2);
-
/* First figure out if we are dealing with two values to be concatenated
or a repeat count and a value to be repeated. INVAL1 is set to the
first of two concatenated values, or the repeat count. INVAL2 is set