re PR c++/21166 (g++ gives error on reference to packed structure elements)
authorNathan Sidwell <nathan@codesourcery.com>
Mon, 8 Aug 2005 14:22:35 +0000 (14:22 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Mon, 8 Aug 2005 14:22:35 +0000 (14:22 +0000)
commitf303a996311673f8c9178f6593bf4c804077a8ec
tree2061e9e62bc833d5825ee342b6f3929525652c9e
parent4de997d1376a22a139c43ab64ab0c1482b5b4487
re PR c++/21166 (g++ gives error on reference to packed structure elements)

.: PR c++/21166
* stor-layout.c (finalize_type_size): Undo DECL_PACKED when possible.
testsuite:
PR c++/21166
* g++.dg/other/crash-4.C: Adjust
* g++/dg/ext/packed9.C: New.

From-SVN: r102858
gcc/ChangeLog
gcc/stor-layout.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/packed9.C [new file with mode: 0644]
gcc/testsuite/g++.dg/other/crash-4.C