Annex D (normative) Compatibility features [depr]

D.3 Array comparisons [depr.array.comp]

Equality and relational comparisons ([expr.eq], [expr.rel]) between two operands of array type are deprecated.
Three-way comparisons ([expr.spaceship]) between such operands are ill-formed.
end note
int arr1[5];
int arr2[5];
bool same = arr1 == arr2;       // deprecated, same as &arr[0] == &arr[1],
                                // does not compare array contents
auto cmp = arr1 <=> arr2;       // ill-formed
end example