r267656 - in /trunk/gcc: cp/ChangeLog cp/decl.c...
mpolacek@gcc.gnu.org
mpolacek@gcc.gnu.org
Mon Jan 7 19:25:00 GMT 2019
Author: mpolacek
Date: Mon Jan 7 19:25:41 2019
New Revision: 267656
URL: https://gcc.gnu.org/viewcvs?rev=267656&root=gcc&view=rev
Log:
PR c++/88741 - wrong error with initializer-string.
* decl.c (cp_complete_array_type): Strip any location wrappers.
* g++.dg/init/array50.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/init/array50.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list