This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/17076] ICE on variable size array initialization in debug mode in C++
- From: "reichelt 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 Aug 2004 10:37:19 -0000
- Subject: [Bug c++/17076] ICE on variable size array initialization in debug mode in C++
- References: <20040818094216.17076.kunegis@cs.tu-berlin.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From reichelt at gcc dot gnu dot org 2004-08-18 10:37 -------
A reduced testcase is the following:
===========================
struct A
{
int j;
};
void foo()
{
int i[A().j];
}
===========================
This is the same problem as in PR 14900.
It's fixed on mainline and needs to be backported to the 3.4 branch.
*** This bug has been marked as a duplicate of 14900 ***
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Component|c |c++
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17076