PR c++/80605 - __is_standard_layout and zero-length array
authorJason Merrill <jason@redhat.com>
Thu, 25 May 2017 21:24:36 +0000 (17:24 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 25 May 2017 21:24:36 +0000 (17:24 -0400)
commit0fa367aa6bd587508199e90723ee6b84e0fb503d
tree7062e59010c0a2a7b049905f5dd73cde92107e63
parent87c976aeadc431c802452673b4ab95b7827af6f0
PR c++/80605 - __is_standard_layout and zero-length array

* class.c (check_bases): Use DECL_FIELD_IS_BASE.

From-SVN: r248470
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/testsuite/g++.dg/ext/is_std_layout2.C [new file with mode: 0644]