On Mon, Mar 23, 2020 at 10:13:47PM -0600, Jason A. Donenfeld wrote: > On Sat, Nov 30, 2019 at 01:00:37AM +0100, Luc Van Oostenryck wrote: > > Note: it would be much much nicer to do all these type generic > > macros with '__auto_type' (only supported in GCC 4.9 IIUC > > and supported in sparse but it shouldn't be very hard to do).. > > I'm curious to know if you know why we're not using __auto_type. Because > we're stuck on gcc 4.6, or is there a more subtle reason? I suppose. I don't remember having ever seen a discussion on the subject (other than a simple remark like "it would be simpler with __auto_type"). Mainline Sparse doesn't support it but I've a pending series for it that seems to work well. -- Luc