https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82764

--- Comment #12 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Feb 16 16:45:49 2018
New Revision: 257746

URL: https://gcc.gnu.org/viewcvs?rev=257746&root=gcc&view=rev
Log:
        PR c++/82764 - C++17 ICE with empty base

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

Added:
    branches/gcc-7-branch/gcc/testsuite/g++.dg/cpp0x/nsdmi-empty1.C
Modified:
    branches/gcc-7-branch/gcc/cp/ChangeLog
    branches/gcc-7-branch/gcc/cp/class.c

Reply via email to