[Bug middle-end/28865] Structures with a flexible arrray member have wrong .size

qrczak at knm dot org dot pl gcc-bugzilla@gcc.gnu.org
Sun Aug 27 22:15:00 GMT 2006



------- Comment #1 from qrczak at knm dot org dot pl  2006-08-27 22:15 -------
A question: when this is fixed, what should be C-level sizeof obj?

I hope it would include the flexible array component. This would allow to
detect in autoconf whether this bug is fixed, and would be consistent with
toplevel arrays whose sizes are derived from their initializer.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28865



More information about the Gcc-bugs mailing list