re PR c++/88181 (ICE: verify_type failed (error: type variant differs by TYPE_PACKED))
authorJakub Jelinek <jakub@redhat.com>
Tue, 27 Nov 2018 21:04:41 +0000 (22:04 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 27 Nov 2018 21:04:41 +0000 (22:04 +0100)
commitd15a79696738d4f81b17774af7f7d7a80f429d5c
treed77dff145249da75eace3e836ebfb6b996256a7b
parentfc74d562dee21346405b9bb4a7fe3bd0f2c43758
re PR c++/88181 (ICE: verify_type failed (error: type variant differs by TYPE_PACKED))

PR c++/88181
* class.c (fixup_attribute_variants): Also propagate TYPE_PACKED
to variants.

* g++.dg/debug/pr88181.C: New test.

From-SVN: r266527
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/debug/pr88181.C [new file with mode: 0644]