> I think that is common practice to write array[1]; at the end of the
> structure, and use it as a flexible array. The compute_record_mode has no
> way to decide if that is going to be a flexible array or not.
> 
> Sorry Eric, but now I have no other choice than to go back to my previous
> version of part 2:
> 
> http://gcc.gnu.org/ml/gcc-patches/2013-10/msg00222.html

Why?  Just set BLKmode in this case as well.

-- 
Eric Botcazou

Reply via email to