https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80415
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> --- Author: jason Date: Mon Apr 17 19:39:00 2017 New Revision: 246954 URL: https://gcc.gnu.org/viewcvs?rev=246954&root=gcc&view=rev Log: PR c++/80415 - wrong error with default arg and array reference. * tree.c (lvalue_kind): Return clk_class for an array prvalue. Added: trunk/gcc/testsuite/g++.dg/cpp0x/initlist-array5.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/cp-tree.h trunk/gcc/cp/tree.c