C++ PATCH for c++/42837 (abi/packed1.C failure on strict aligment targets)

Jason Merrill jason@redhat.com
Fri Feb 19 01:15:00 GMT 2010


We were getting misaligned accesses because we were failing to set 
DECL_PACKED on the virtual table pointer in a packed class.  Fixed thus.

The test now passes on ia64-unknown-linux-gnu and 
hppa2.0-unknown-linux-gnu.  Regression tested on 
x86_64-unknown-linux-gnu, applied to trunk.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 42837.patch
Type: text/x-patch
Size: 1022 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20100219/86bbfc09/attachment.bin>


More information about the Gcc-patches mailing list