diff options
author | Jason Merrill <jason@redhat.com> | 2006-07-05 22:09:02 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2006-07-05 22:09:02 -0400 |
commit | 1937f93932b3249756fbeda05a0b0c67aaed0405 (patch) | |
tree | e5a04b6dd5dab15766d0b02b4b48425818534909 /libjava | |
parent | 562349cab017b2abc827517378ac50a1f4a1f438 (diff) | |
download | gcc-1937f93932b3249756fbeda05a0b0c67aaed0405.zip gcc-1937f93932b3249756fbeda05a0b0c67aaed0405.tar.gz gcc-1937f93932b3249756fbeda05a0b0c67aaed0405.tar.bz2 |
re PR c++/13983 (no warning on some non-POD struct with packed attribute)
PR c++/13983
PR c++/17519
* stor-layout.c (finish_record_layout): Copy TYPE_PACKED to variants.
* c-common.c (handle_packed_attribute): So don't copy it here.
* c-decl.c (finish_struct): Don't copy TYPE_ALIGN.
* cp/class.c (check_field_decls): Check TYPE_PACKED after
stripping array types.
(finish_struct_bits): Don't copy TYPE_SIZE here.
From-SVN: r115217
Diffstat (limited to 'libjava')
0 files changed, 0 insertions, 0 deletions