[Bug c/27945] Packed struct of variable length has wrong size

alpt at freaknet dot org gcc-bugzilla@gcc.gnu.org
Thu Jun 8 04:52:00 GMT 2006



------- Comment #3 from alpt at freaknet dot org  2006-06-08 03:14 -------
You're right. on 3.4.x I get wrong results too.

The only positive result I get is on 3.3.6.

~> You should note this is extension even on top of C99 so it might be correct
~> to change it.

Yep, but it is a very elegant extension ;)


-- 


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



More information about the Gcc-bugs mailing list