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:48 -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 #4 from shinwell at gcc dot gnu dot org 2006-10-18 10:57 -------
Subject: Bug 26884
Author: shinwell
Date: Wed Oct 18 10:57:37 2006
New Revision: 117855
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117855
Log:
PR c++/26884
* typeck2.c (digest_init): Raise error upon attempts to
initialize arrays with variables.
Modified:
branches/gcc-4_1-branch/gcc/cp/ChangeLog
branches/gcc-4_1-branch/gcc/cp/typeck2.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26884