https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84665
--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> --- Author: jason Date: Thu Apr 5 16:04:08 2018 New Revision: 259132 URL: https://gcc.gnu.org/viewcvs?rev=259132&root=gcc&view=rev Log: PR c++/84665 - ICE with array of empty class. * decl2.c (cp_check_const_attributes): Use fold_non_dependent_expr. Added: trunk/gcc/testsuite/g++.dg/ext/attr-noinline-4.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/decl2.c