On Tue, Jul 28, 2020 at 09:49:38PM +0200, Oleg Nesterov wrote: > On 07/28, Alexey Gladkov wrote: > > > > No special support needed for _Generic, > > Hmm. I am already sleeping and didn't read the _Generic code yet... but > shouldn't dissect() inspect ->control/map/def? > > That said, > > > so just suppress the warning > > about unknown type. > > probably better than nothing, lets shut up the warning first. OK, since there is some urgency, I applied it directly but my first reaction was also "eh, you can't just ignore EXPR_GENERIC / pretend it's one of the top-level expression". OTOH, I wonder what can be done without first evaluating (the type of) the controlling expression and the types of the map (if I understand correctly, evaluation is avoided in dissect). -- Luc