Do not warn that an expression of the form (void)arr; is unused when
arr is a volatile non-local array. This fixes a recent regression exposed by removing lvalue-to-rvalue conversion of discarded volatile arrays. In passing, regularize the rules we use to determine whether '(void)expr;' warns when expr is a volatile glvalue.
Loading
Please sign in to comment