>1. why did you remove FOREIGN-SIZE?
Neither documented, nor referenced, nor needed.
macroexpands to (sizeof (typeof foreign-variable))
One could argue that this conversion is stupid, given that the fv_size slot is cached.
So another approach could be to reinstall foreign-size, and change sizeof to expand to it. That would save a call to foreign_layout(). Yet this would not help bitsizeof.
But sizeof is documented to return two values, while foreign-size does not (and cannot without calling foreign_layout itself). So this macroexpansion change would not be equivalent.
>2. we have a special tests/ChangeLog for that.
Sorry, missed that. Changed.