On Mon, Nov 16, 2020 at 3:11 AM Peter Zijlstra <pet...@infradead.org> wrote: > > XXX: I've only verified the below actually compiles, I've not verified > the generated code is actually 'correct'.
Well, it was mainly the arm64 code generation for load-acquire and store-release that wanted this - so it's really the generated code that matters. Will, can you check? Because: > +#define __unqual_typeof(type) typeof( (typeof(type))type ) that's certainly a much nicer version than the existing pre-processor expansion from hell. Linus