On Fri, 14 Aug 2020, Jakub Jelinek via Gcc-patches wrote:
> Hi!
>
> The following testcase shows various problems with -Wunused-but-set*
> warnings and _Generic construct. I think it is best to treat the selector
> and the ignored expressions as (potentially) read, because when they are
> parsed
Hi!
The following testcase shows various problems with -Wunused-but-set*
warnings and _Generic construct. I think it is best to treat the selector
and the ignored expressions as (potentially) read, because when they are
parsed, the vars in there are already marked as TREE_USED.
Bootstrapped/regt