https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85015
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Fri Mar 23 20:54:50 2018 New Revision: 258822 URL: https://gcc.gnu.org/viewcvs?rev=258822&root=gcc&view=rev Log: PR c++/85015 * decl.c (compute_array_index_type): Set osize to mark_rvalue_use result. * g++.dg/cpp0x/pr85015.C: New test. Added: trunk/gcc/testsuite/g++.dg/cpp0x/pr85015.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/decl.c trunk/gcc/testsuite/ChangeLog