On Fri, Mar 20, 2020 at 04:40:17PM +0100, Martin Liška wrote: > Thank you very much for the feedback, it was useful. I realized that > the patch made a huge code bloat (mainly because of the string constants > and the fact that it didn't end quickly (with an internal_error). > > The loop is here not possible because we compare struct fields.
Are you sure? I mean, you could have a loop over cl_options array which contains the needed offsetof values and also the types. Jakub