[Bug c++/17076] ICE on variable size array initialization in debug mode in C++

reichelt at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Aug 18 10:37:00 GMT 2004


------- 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



More information about the Gcc-bugs mailing list