------- Comment #11 from jmichae3 at yahoo dot com 2009-04-03 09:02 ------- I get perfect code with the borland compiler packing switch with C++ code. it would be nice if gcc could do the same in C++.
I don't necessarily have to have -O3, but I need to be able to pack structs somehow so I don't end up with holes. the structs are required for BIOS I/O or other things as well. any holes will render the I/O useless as I use sizeof() and it can be fooled with holes. any workarounds? sure-fire pragmas? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39404