Skip to content
Commit 00e5d38d authored by Richard Smith's avatar Richard Smith
Browse files

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.
parent c94c5bf9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment