This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/41788] -Wpacked option changes the layout of packed non-POD structs



------- Comment #3 from jason at gcc dot gnu dot org  2010-01-20 22:15 -------
Subject: Bug 41788

Author: jason
Date: Wed Jan 20 22:14:51 2010
New Revision: 156088

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=156088
Log:
        PR c++/41788
        * class.c (layout_class_type): Set packed_maybe_necessary for packed
        non-PODs.

Added:
    trunk/gcc/testsuite/g++.dg/abi/packed1.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/class.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]