This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/27945] Packed struct of variable length has wrong size
- From: "alpt at freaknet dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Jun 2006 03:14:21 -0000
- Subject: [Bug c/27945] Packed struct of variable length has wrong size
- References: <bug-27945-12799@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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