diff options
Diffstat (limited to 'gcc/fold-const.c')
-rw-r--r-- | gcc/fold-const.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/fold-const.c b/gcc/fold-const.c index 2cf534f..eec059e 100644 --- a/gcc/fold-const.c +++ b/gcc/fold-const.c @@ -2396,6 +2396,7 @@ operand_equal_p (arg0, arg1, only_const) case COMPONENT_REF: case ARRAY_REF: + case ARRAY_RANGE_REF: return (operand_equal_p (TREE_OPERAND (arg0, 0), TREE_OPERAND (arg1, 0), 0) && operand_equal_p (TREE_OPERAND (arg0, 1), |