PR c++/82764 - C++17 ICE with empty base
authorJason Merrill <jason@redhat.com>
Fri, 16 Feb 2018 16:44:26 +0000 (11:44 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 16 Feb 2018 16:44:26 +0000 (11:44 -0500)
commit280fa93e667c21e5fd3f3c758939376d35e47223
tree409f2ad8311ac1a29281454d4a2015c133791cf1
parent9dc20710e8380bdaf03551b45a2234c6d18c6519
PR c++/82764 - C++17 ICE with empty base

* class.c (build_base_field_1): Set DECL_SIZE to zero for empty
base.

From-SVN: r257745
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/testsuite/g++.dg/cpp0x/nsdmi-empty1.C [new file with mode: 0644]