This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]