This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/26884] [4.1/4.2 regression] Misleading diagnostic for invalid array initializer
- From: "shinwell at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Oct 2006 10:57:28 -0000
- Subject: [Bug c++/26884] [4.1/4.2 regression] Misleading diagnostic for invalid array initializer
- References: <bug-26884-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from shinwell at gcc dot gnu dot org 2006-10-18 10:57 -------
Subject: Bug 26884
Author: shinwell
Date: Wed Oct 18 10:57:18 2006
New Revision: 117854
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117854
Log:
PR c++/26884
* typeck2.c (digest_init): Raise error upon attempts to
initialize arrays with variables.
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/typeck2.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26884