[Bug c/52991] attribute packed broken on mingw32?
daniel.c.klauer at web dot de
gcc-bugzilla@gcc.gnu.org
Sat Aug 18 04:01:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52991
--- Comment #2 from daniel.c.klauer at web dot de 2012-08-18 04:00:51 UTC ---
The -mms-bitfields option seems to trigger the wrong behaviour. As pointed out
by http://gcc.gnu.org/gcc-4.7/changes.html it is enabled by default since
4.7.0, and using -mms-bitfields when compiling with TDM-GCC 4.6.1 also causes
the wrong behaviour.
In contrast, compiling with -mno-ms-bitfields makes the example programs work
as expected under gcc 4.7.0.
More information about the Gcc-bugs
mailing list